|
> You know the first three rules of optimisation, right? They are, in order:
>
> 1. Measure
> 2. Measure
> 3. Measure
Also:
1. Don't.
2. Don't... yet.
3. Profile before optimizing
See for instance
http://www.moscowcoffeereview.com/programming/the-3-rules-of-optimization/