Most Effecient way to repeat a handler/function - Found word(s) list error in the Text body

Geoff Canyon gcanyon at gmail.com
Fri Feb 14 09:23:04 EST 2014


> On Feb 13, 2014, at 11:12 PM, "J. Landman Gay" <jacque at hyperactivesw.com> wrote:
> 
> It's pretty well established that the "for each" form is a magnitude faster than the counting form.

Nitpicking, but "[order of] magnitude" doesn't come close to covering the efficiency. The example Bob gave, since there were only ten items in the line, dramatically *understates* the benefits of repeat for each, which scales with the length of the source. A 1,000 or 100,000 item source would show much more than a magnitude of improvement.



More information about the use-livecode mailing list