How much of a performance drain would this be? Here is a trace of my array:
trace(myArray); //My array
Result: “,[object Object],[object Object]”
As you can see… There are only two objects in the array, at an index of around 40. Now imagine an array with two objects at an index of 600,000,000+ and running this code:
for (var i:int in myArray) {
trace(myArray*.objectVar);
}
Would this be too slow?
I need to know if I need to change my array to not use ID’s, and instead use push and a search function.