Setting Pixels - More answers to suggestions

Monte Goulding monte at sweattechnologies.com
Thu Jan 30 02:05:00 EST 2003


>
> I think you can speed this up just a litle bit on the
> first run by changing:
>   if tData = "" then
>     put char 1601 to -1 of the imageData of image 1 \
>        into tData
>   end if
> This ought to be slightly faster as the engine doesn't
> have to resize the tData variable again, nor push its
> contents forwards upon deleting from the front.
>

Yep

Back down to 0.162

I think what I'd do would be to initialise the data when the image was first
opened. Say openStack?

Monte




More information about the use-livecode mailing list