Optimization

Cache efficiency, tail recursion, and techniques for writing faster code.

  1. Matrix Multiplication & Cache Efficiency How loop order in matrix multiply affects cache performance — a 36% speedup from reordering three loops.
  2. Tail Recursion Reducing memory usage in recursive algorithms by restructuring for tail-call optimization.