× 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.



Scott Klement wrote:
>> My experience is like Bill's.  If the program is a heavy hitter and
>> you can easily keep DIV out of the code its worth it.

> This means that if you had code that does ONE MILLION divides, you
> would waste about 14 seconds.
>
> It's definitely not worth making your code harder to read to save 14
> seconds per day in some big million record processing batch job.

While I agree with the statement about not making code harder to read, I
will disagree that the code is harder to read just because it uses Multiply
instead of Divide.

> In any application you write where you "save time" by using MULT
> instead
> of DIV, I can almost guarantee that there's something else in that app
> that's wasting more time than the difference between MULT and DIV.

Maybe true, but I think time should be saved wherever it makes sense.

Bill



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.