T
tenxian
Is it good or bad?
tenxian said:Is it good or bad?
Is it good or bad?
tenxian said:Is it good or bad?
tenxian said:Is it good or bad?
Not good...the keyword being "premature", meaning "untimely, too soon,
hasty" in this context.
Premature optimization often refers to steps taken to improve speed or
reduce memory consumption, *before* there is reason to believe that such
steps are necessary. It does _not_ refer to judicious choice of fast
and/or memory-consumption-reducing architecture, design, algorithms and
data structures at the earliest possible stage.
thufir said:Donald Knuth said, paraphrasing Hoare[1],
* "We should forget about small efficiencies, say about 97% of the
time: premature optimization is the root of all evil." (Knuth, Donald.
Structured Programming with go to Statements, ACM Journal Computing
Surveys, Vol 6, No. 4, Dec. 1974. p.268.)
http://en.wikipedia.org/wiki/Optimization_(computer_science)
Actually, he's talking about *small* efficiencies. Just thought I'd post
the quote!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.