Tom Glod wrote:

> Can someone explain the seemingly extraordinary performance
> improvement in using apparently its "split second" vs "over a minute"
>
> set the hidden of line 1 to - 1 of field 1 to false
>
> vs.
>
> repeat with i = 1 the number of lines of fld 1
>       set the hidden of line i of fld 1 to false
> end repeat
>
> it doesn't seem like the loop would be the bottleneck here, but rather
> the work on the field itself....but obviously, I know nothing about
> this engine

Think about all the steps a computer needs to take to render text in a field.

Multiply that by the number of lines...

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to