[Python-Dev] Complexity documentation request

Aahz aahz at pythoncraft.com
Wed Mar 12 02:49:53 CET 2008


On Wed, Mar 12, 2008, Stephen J. Turnbull wrote:
> "Martin v. L?wis" writes:
>> 
>> Premature optimization is the root of all evil.
> 
> Actually, Knuth's bon mot was "Premature optimization is the root of
> all error."

>From my .sig database:

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare (often misattributed to Knuth, who was himself quoting Hoare)

"We should forget about small efficiencies, say about 97% of the time:
premature optimization is the root of all evil."  --Knuth restates Hoare
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"All problems in computer science can be solved by another level of     
indirection."  --Butler Lampson


More information about the Python-Dev mailing list