On Thu, 20 Oct 2005 08:32:41 GMT, Andrew Thompson
<> wrote or quoted :
>( Your words carry the taint of 'premature optimisation',
>the way I read them. )
Poor old Knuth, when he dies will roll in his grave, when he learns
how his words have been interpreted so often to mean "Writing slow
programs deliberately is a mark of virtue." like the way people in
medieval times bragged about how rarely they bathed.
It is not wicked to know what will run quickly or slowly or to even
spread that knowledge. If you can optimise early without extra effort
that is a GOOD thing. That is not premature.
"Premature" does not mean "early" or "design-stage".
What Knuth was railing against was micro coding in optimisations that
a modern compiler does for you, making the code harder to read and
maintain, without even determining if that code was a bottleneck.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.