I have an array that is made by using a for loop. As it loops through the preset number it populates the array with a series of tiny 4 pixel squares. I’ve done this plenty of times with quite large numbers with no problem.
So far, so good.
However, the array in question has 26,400 squares in it and that is about a 10 times larger a number than I’ve ever used before. The processing time on some computers and browsers (not all) is really, really long. The swf size is tiny so that’s not an issue.
The largest number I’ve used up until now was 3,000 and that processed quickly even on my rather obsolete computer. I also have a new laptop and the 3,000 array processed almost instantly on that.
Is there any trick to minimizing the processing time for that really huge 26,300 array? Should I populate the array in some other manner? It surprises me though, that on come computers and browsers it seems fine while on others it is tragically slow.