> More times than not, optimizing code reduces its readability.
> If what you are optimizing is already sub second, you are
> being counterproductive.

Sub-second for a function that gets called once or twice, yes. For a
function that gets called thousands of times, no.

Comments in the code are for readability, plus if you don't understand (and
understand I mean it's functional design, not guessing from looking at the
variable names :) the code you're about to try and optimise (whether it's
your code or someone else's) how on earth are you going to optimise it ?

> Only on the cpu challenged as400 does activity like this
> have a justification.

CPU challenged ? How many concurrent users can a Intel processor with any OS
(Linux, Windows, BeOS) running at 266Mhz cope with ?

As others have pointed out many times; it's making sure you're using the
right work with the right tool.
iSeries doing lots of DB work and servicing lots of users = right tool.
iSeries doing heavy computational work (such as image processing) = wrong
tool.

--phil


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.