Three Rules of Optimization

The most important rules you need to know when optimizing a program are:

  1. Don't.
  2. Don't yet.
  3. Don't optimize more than you need to.

For debugging: Click here to validate.