Contiguous data structures maximize spatial locality, allowing the CPU to prefetch data efficiently and reducing cache misses, a key factor in speeding up array and matrix operations.
Open the full topic