----- Original Message ----- 
From: "Steven Sacks" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, May 11, 2007 9:21 PM
Subject: Re: [Flashcoders] Quick syntax q: how to write a functionthat 
canreceive an undefined number of parameters


>I think he was pointing out how the loop could be optimized even further.
>
> Pre-decrementing is faster than post-decrementing.
>
> However, his greater than comparison slows it down.  The right way to do it 
> is:
>
> while (--i -(-1))
> {
> }
>
> since subtraction is faster than addition.
>

We've been down that road before..
But I'll repeat it once more..
What once was true, may no longer be the case.

regards,
Muzak 


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to