To template or to lock?

David Bovill david.bovill at gmail.com
Sat Feb 6 06:46:21 EST 2010


On 6 February 2010 11:35, Sarah Reichelt <sarah.reichelt at gmail.com> wrote:

>
> I would combine the 2 techniques.
>
> Before the repeat loop, set the templateGraphic's properties to those
> that are the same in each graphic.
>

There are no repeated properties each graphic is unique. IThe scripts quoted
are just test to compare object creation speed. It is interesting to note
that it is nearly twice as fast - not to use templateXXX for creation of
individual objects - personally I'd have guessed it would be slightly faster
or the same to set a global template than to find and set a specific object.



More information about the use-livecode mailing list