WOW! So you do! I didn't know about that one - I learned something good today.

I updated the stack, its now at:
http://jhj.com/Compare-Jerry3.rev.zip

Thanks a bunch,
Jerry

On Jul 1, 2009, at 8:10 AM, BNig wrote:

Jerry,
you get quite a speed increase by changing the first line of your handler to

private command pixDive pStart, pEnd -- WARNING: RECURSION
instead of
on pixDive pStart, pEnd -- WARNING: RECURSION

Revolution introduced the private command and private function in version
2.8.1
If you are on a version => 2.8.1 give it a try.
The private command, according to the documentation, stays local, reducing
overhead of the message path.

regards
Bernd


Jerry J wrote:

Here's a different approach - a recursive algorithm that is very
compact...- its very heavy on handler calls ....
--
View this message in context: 
http://www.nabble.com/Inefficient-code-tp24226458p24291519.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to