Dynamically Sized Structs

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Apr 17 12:09:12 PDT 2014


Well, cache locality can be optimized without reducing number of 
indirections, as long as the data is likely to be in cache.
I agree with bearophile that variable size structs reduce number 
of indirections and have no direct relation to cache locality. 
One may have no time or no desire to initialize all the pointers 
or no place to put them.


More information about the Digitalmars-d-learn mailing list