Performance (cont)
In the past, performance was a significant problem.
- much programming effort was spent on efficiency "tricks".
Unfortunately, there is usually a trade-off between ...
- execution efficiency achieved by "tweaking" code
- the understandability of the code
Knuth: "Premature optimization is the root of all evil"
|