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.

Reply via email to