× 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 7/2/2015 11:57 AM, Nathan Andelin wrote:

On my 720, several runs show that the 'non-error' case takes about 75000
us, and the 'with error' case takes about 6500000 us (6.5 seconds).


Could you clarify what you mean by 'non-error' case? Your code sample
appears to generate a divide-by-zero error and "remove" it from the job log
for 100,000 iterations, which generates perhaps something like 60
milliseconds of overhead per error.

There are two passes through the subroutine.
The first does a divide by 1, thus no error.
The second does a divide by zero, triggering the job log message and
ON-ERROR handling which removes it.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.