Typical performance advice for memory access patterns is "keep your data contiguous". When you think about it, this must have diminishing returns.
I tried to experimentally find generalizable guidelines and it seems like 128 kB is enough for most cases. I wasn't able to find anything needing more than 1 MB really (within the rules). #programming #technology #dev