|
1. Don't! 2. Don't! 3. Don't!He refers specifically to "cute" programming techniques that become unmaintainable.
The metrics reported here show little difference - we are not talking multiple orders of magnitude.
Just my $.02 Vern At 01:16 PM 3/2/2007, you wrote:
> This is what it said in the joblog (I assume that means CPU clock time): > > Cause . . . . . : Job 361125/PALHC/CVTNUM completed on 03/02/07 at > 11:55:53 > after it used 12 seconds processing unit time. The job had ending > code 0. Thanks. What is the elapsed clock time (difference between job start and end)? Basically I am curious how much difference the optimised version saves over the worst version. In this case, there is probably no code maintenance difference between %dec, %int and atoi() -- they all look pretty similar to each other and are about as easy to understand. Perhaps the BIFs are a tiny bit easier to understand... Anyway, I guess this looks to me as though it might be a case of premature optimisation, especially if someone in the future reads this thread and doesn't understand the difference between %dec and %int. --buck -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.