Peephole optimization and loop optimizations
Small-window machine-code cleanups you can spot by eye, plus the classic loop optimizations — loop-invariant code motion, strength reduction, and induction variable elimination — worked by hand.
10 min readUpdated 2026-09-03compiler-designoptimizationpeepholeloop-optimizationmath