How Much Linear Memory Access Is Enough? (probably less than 128 kB)

Posted by PhilipTrettner@reddit | programming | View on Reddit | 26 comments

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).