Inefficient code - Solutions
BNig
niggemann at uni-wh.de
Wed Jul 1 11:10:50 EDT 2009
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.
More information about the use-livecode
mailing list