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

multiple accumulators

Splitting a running total into several separate totals added up at the end, so the additions no longer all wait for each other.

Using k independent accumulators splits one loop-carried chain into k interleaved chains, letting up to k additions be in flight; for floating point it reassociates the sum (Chapter 16), so compilers do it only when permitted.

Examples

  • Summing into four partial sums and adding them at the end lets four additions be in flight at once.

Read the full section →