premature optimization

Site menu:

Topics

Recent Posts

Blog

 

September 2008
M T W T F S S
« Aug   Oct »
1234567
891011121314
15161718192021
22232425262728
2930  

Past Posts

Links:

Archive for September 6th, 2008

premature optimization

September 6th, 2008 by Jeanne Boyarsky

Donald Knuth is often quoted as saying “premature optimization is the root of all evil.”
Often in the JavaRanch forums, we see questions like:
which is faster stringBuilder.append(‘a’) or “a” + “b”
(The answer is these two expressions are supposed to generate to the same byte code if used on the same line.)
My first thought when I see [...]