Optimized quoting (was Re: Speed?)

From: Aahz (aahz_at_pythoncraft.com)
Date: 01/03/04


Date: 3 Jan 2004 10:26:09 -0500

In article <mailman.43.1073115353.12720.python-list@python.org>,
John Hunter <jdhunter@ace.bsd.uchicago.edu> wrote:
>
>Donald Knuth, God of Computer Science, said "Premature optimization is
>the root of all evil".

If Knuth is God, then Hoare is God's father:

"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@pythoncraft.com)           <*>         http://www.pythoncraft.com/
Weinberg's Second Law: If builders built buildings the way programmers wrote 
programs, then the first woodpecker that came along would destroy civilization.


Relevant Pages

  • Re: How to get imagebase after a DLL gets loaded
    ... Hardcoding the DLL's name is a far too brittle option for me. ... Premature optimization is the root of much evil. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: assembly optimization.?
    ... all evil " Knuth. ... Actually, Sir Tony Hoare said it, Knuth simply repeated it often enough ... premature optimization is the root of all evil." ...
    (alt.lang.asm)
  • Re: Is a "real" C-Python possible?
    ... Donald Knuth, one of the fathers of modern computer science, is famous ... "Premature optimization is the root of all evil in programming." ...
    (comp.lang.python)
  • Re: Fork or threads
    ... Premature optimization is the root of all evil. ... Create code first that is simple to write and natural to read. ...
    (comp.unix.programmer)
  • Re: i++, ++i, i+=1 and i = i+1;
    ... optimisation is the root of all evil, as Donald Knuth rightly said. ...
    (comp.lang.c)