↓Skip to main content
  1. Tags/

CPU

2026


Quirks of a CPU: Cache Aliasing

·11 mins
Summing a power-of-two-sized matrix column by column is eight times slower than the same loop with one extra element per row. Why cache sets make some addresses collide, and how to spot it.