Data locality concerns how data placement affects processing cost. Keeping needed information close to the CPU can reduce waiting for slower memory; storage and network access costs also vary widely. In virtual machines, cache conditions may be unpredictable, limiting the reliability of cache-aware optimizations. section 1.2.1 section 1.2.3 section 6.1.3
Compression and locality
Processing compressed data can be faster than processing raw data when the compressed block fits in CPU cache: decompression can use cycles otherwise spent waiting for RAM. A NumPy array representation choice can also affect cache locality and processing speed. section 1.2.1
Table 1.1 Memory hierarchy with sizes and access times for a hypothetical, but realistic modern desktop (view table figure)
Compare the capacities and access times shown across CPU caches, RAM, disks, and network storage. section 1.2.1



