What is the display list in Flash 10? Array? Linked list?
- by Typeoneerror
I'm working on a game that has many elements on stage, so I'm looking to optimize my loops. I know that Vector is faster than looping an array, but I'm also in some cases using:
while (i < numChildren)
getChildAt(i)
...to update sprites.
My question is when I use getChildAt, is that accessing an Array or Vector or linked list or other? Should I instead store references to my objects in a Vector and loop through that instead?