1 more speed question

Mark Wieder mwieder at ahsoftware.net
Wed May 18 18:31:46 EDT 2005


Mark-

Putting the limit into a variable speeds things up considerably:

put the number of controls on card id 200593 of stack "revIcons" into y
repeat with x=1 to y
 add 1 to z
end repeat

Is twice as fast (.73 ticks vs 1.41 ticks) as:

repeat with x=1 to the number of controls on card id 200593 of stack "revIcons"
 add 1 to z
end repeat

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list