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
