Archive for September 6th, 2008
premature optimization
September 6th, 2008 by Jeanne BoyarskyDonald 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 [...]
Categories: Development Process.
Comments: 3
