Comment on Explain yourselves, comp sci.

<- View Parent
yetiftw@lemmy.world ⁨6⁩ ⁨months⁩ ago

matlab likes to pick the smallest available spot in memory to store a list, so for loops that increase the size of a matrix it’s recommended to preallocate the space using a matrix full of zeros!

source
Sort:hotnewtop