3 ms·
> You can't fine-tune memory usage What do you mean by that? There are some very fine-grained tuning options if you really need them.
by lmm 12y ago
> You can't fine-tune memory usage
What do you mean by that? There are some very fine-grained tuning options if you really need them.
- sacado2 12y agoMaybe I'm wrong, but I don't know how you can say you want, say, a list of objects of class Foo be in contiguous slots of memory, rather than having a list of references to objects. Because the latter is very cache-unfriendly. In go, you can say whether you want a []Foo or a []*Foo
- lmm 12y agoYou can do that "by hand" with buffers (and the HFT guys do) but yeah it's not easy or fun. C#-style struct types are supposedly coming in the next version.