Speeding up this handler

Mark Talluto lists at canelasoftware.com
Sat Apr 12 00:55:00 EDT 2003


On Friday, April 11, 2003, at 06:47 PM, Shari wrote:

> I'm trying to shave the first handler down to about 150 milliseconds. 
> Handler 2 was just a test to see how quickly Metacard could set the 
> filename of 99 images.  I've tried several variations, but so far the 
> 620 is the fastest, but it isn't fast enough.


Shari,

One suggestion I can come up with would be to avoid:  the "repeat with" 
structure

Try replacing it with:

put 1 into x
repeat 99
<do your thing here.
add 1 to x
end repeat



Best regards,
Mark Talluto
http://www.canelasoftware.com




More information about the metacard mailing list