On Jan 31, 2005, at 12:53 PM, jbv wrote:

I am working on an old stack (built with
MC 2.4.1) in which I make extensive use
of commands such as :
set imagedata of img 1 to imagedata of img 2

most of my images are 1024 x 768.

I tried to run a timing test on my OS X system using 1024 X 768 images I scribbled in:


on mouseUp
  put the long seconds into a
  get the imageData of image "A"
  put the long seconds into b
  set the imageData of image "B" to it
  put the long seconds into c
  put (b-a) && (c-b)
end mouseUp
==>
0.082148 0.370726

on mouseUp
  put the long seconds into a
  get the text of image "A"
  put the long seconds into b
  set the text of image "B" to it
  put the long seconds into c
  put (b-a) && (c-b)
end mouseUp
==>
0.000027 0.085191

I don't know how much I'd trust the first one. For some reason it didn't work. It made no change to the destination image.

Dar

**********************************************
    DSC (Dar Scott Consulting & Dar's Lab)
    http://www.swcp.com/dsc/
    Programming Services and Software
**********************************************

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to