Re: What is Premature Optimization?



On Tue, 29 Apr 2008 22:00:32 -0700, tenxian wrote:

Is it good or bad?

Bad. Optimizing before you know what to optimize.. usually by profiling
the application.

Knuth called it the root of all evil.

Is this homework?

--
Kenneth P. Turvey <kt-usenet@xxxxxxxxxxxxxxxxxx>
.



Relevant Pages

  • Optimized quoting (was Re: Speed?)
    ... If Knuth is God, ... "Premature optimization is the root of all evil in programming." ...
    (comp.lang.python)
  • 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: i++, ++i, i+=1 and i = i+1;
    ... optimisation is the root of all evil, as Donald Knuth rightly said. ...
    (comp.lang.c)
  • Re: Fastest way to store ints and floats on disk
    ... Permature optimalization is the root of all evil. ... "Premature optimization is the root of all evil in programming." ... Hoare (often misattributed to Knuth, ...
    (comp.lang.python)
  • Re: fake PC supplies
    ... >> The quote makes more sense when it's complete. ... For the love of money is the root of all evil ...
    (sci.electronics.design)