× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




On 11-Jan-08, at 1:00 PM, rpg400-l-request@xxxxxxxxxxxx wrote:

but the compiler team might be interested to know that
OPTIMIZE(*FULL) looks pretty good in cases like this:

divide 114000 ms
multiply 118000 ms

You have to be _really_ careful drawing conclussions from timing loops when the optimizer is involved. AMong other things, it has the option to simply remove code that achieves nothing. For example if the following two lines are coded:

X = 5;
X = 10;

The first operation will be removed as it is regarded as a redundant store i.e. the value of X was changed, but the content after the change was not referenced either directly or indirectly before it was changed again.

Without seeing your code it is difficult to even guess what the optimizer would do.

Jon Paris

www.Partner400.com
www.SystemiDeveloper.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.