Conceptcache locality
Cache Locality
An optimization principle whereby a program, when accessing memory, keeps adjacent or recently used data physically close and temporally near so as to hit the CPU cache and avoid costly main memory access.
Timeline (last 90 days)
Oct 30
In performance-sensitive paths (such as hot loops, real-time processing, and embedded systems), cache locality remains the key factor determining orders-of-magnitude differences, and this kind of optimization depends on in-depth analysis of specific hardware and data access patterns, making it difficult to obtain through pattern-matching-style code generation.
Unverified50%