I ran your tests on my computer. I bumped the gcounter repeat loop up to a
thousand.

1st test (just the 10 sprites in the score): sendAll : 37 ms; repeat loop :
90ms
2nd test (150 sprites, 10 behaviored): sendAll : 103ms; repeat loop : 86ms

Hmm. Bit of a bummer that. I thought sendAllSprites was much quicker.

It gets worse.

I moved the behaviored sprites out to arbitrary positions in the score and
changed the "repeat with i = " loop to a "repeat with i in [...]"

1st test: sendAll : 84ms; repeat : 101ms
2nd test: sendAll : 110ms; repeat : 100 ms

I expected the different repeat command to slow down, but the performance
decrease on sendAll on the 1st test (37ms to 84 ms) is a real bummer.

If Director does store a list of currently available handlers, then I
daresay it does it badly.

Pez

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to