Damus
note1mq372...
Jacob Christian Munch-Andersen profile picture
@nprofile1q... @nprofile1q... I don't want to draw the conclusion too broadly, it is most certainly complicated, with a lot of "depends". I don't recall all that much about Go, but doesn't it allow you to make a simple array of structs? (Probably called something different.) That would have the same effect on garbage collection.

Of course struct-of-arrays can be faster regardless of language if your access pattern happens to favour that paradigm.