Writing cache-friendly code
Stride-one loops over arrays use every byte of each cache block, so reordering loops and blocking a matrix multiply turns misses into hits and multiplies the speed.
Stride-one loops over arrays use every byte of each cache block, so reordering loops and blocking a matrix multiply turns misses into hits and multiplies the speed.