Next | Making Programs Faster | 165 |
Donald E. Knuth, a famous wizard, is fond of saying:
Premature optimization is the root of all evil.
Here's some context:
There is no doubt that the "grail" of efficiency leads to abuse. Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and such attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, about 97% of the time. Premature optimization is the root of all evil.
continued...
Next | Copyright © 2003 M. J. Dominus |