It used to be bad but as of Flash MX 2004, it was improved a bit.

Most of the Array methods are slow, though, when compared to other
languages.  For instance, it's faster to use myArray[x] = val than
myArray.push(val).  Shift and Unshift are extremely slow.

If you need speed for an array that you're going to be iterating over or
shuffling items around a lot in, you should consider using a
doubly-linked array.  Check Google for more information.

-Steven

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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