Introduction Edit

This page aims to be a comprehensive catalog of code optimizations similar to the catalog of refactorings in Martin Fowler's "Refactoring book", or the Portland's Patterns Repository.

The Catalog Edit

Philosophy Edit

Implications of Optimization Edit

  • Code may be harder to understand.
  • Lack of modularity.
  • Added Complexity.
    • libJudy (faster) vs. libavl2 (smaller and simpler).
    • Freecell Solver (faster and more powerful) vs. patsolve (smaller)