Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

loop tiling

Rewriting nested loops to work on one small square of the data at a time, sized to fit in the cache, before moving on to the next square.

Loop tiling (cache blocking) strip-mines loops and reorders the resulting loops so each tile's working set fits in a target cache level, turning capacity misses into hits; matrix multiply and transpose are the classic cases.

Read the full section →