×
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.
Now I am curious. Did the optimization handle that better because it was
a constant and just changed it to a multiplication? Or did it perform
some other wizardry? In other words, if I had done a
x=MyParm; // where MyParm was passed in as a decimal with a value of 10000
y=MyOtherParm; // where MyOtherParm was passed in as a decimal with a
value of .00001
ts1=%timestamp();
for z=1 to 1000000;
q=SomeNumber/x;
endFor;
ts2=%timestamp();
for z=1 to 1000000;
q=SomeNumber * y;
endFor;
ts3=%timestamp();
I wonder what the results would be?
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.