When you are thinking about rule #2, you reach for Devel::NYTProf.
Rule #7 demands an addition to your test suite, which means delving into Test::More or, if you prefer, Test::Most.
One rule that doesn't fit in the rules format: If your code doesn't do what you want it to do, you have no business optimizing it.
xoxo,
Andy
In reply to The Rules of Optimization Club by petdance
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |