Premature optimization is the root of all evil in programming.
That which optimizes one part of the system necessarily undermines the system as a whole.
Rules of Optimization:
Rule 1: Don't do it.
Rule 2 (for experts only): Don't do it yet.
Premature optimization is the root of all evil.
Law 1: Every program can be optimised to be smaller. Law 2: There's always one more bug. Corollary: Every program can be reduced to a one-line bug.