[help] Which is faster, Arrays or Objects?
Hey all.
I was just wondering about the speed differences between Arrays and Objects. If I have a chunk of data with many different properties (up to 10) and some of them containing larger amounts of data (such as paragraphs of text), would having an Object for each chunk be faster than having a multidimensional Array with each entry a sub Array with each bit of data in it. And what if I have only around 4 properties, just an x,y and a couple Boolean values, would the Array be faster? Just wondering if anyone knew off the top of their head (that expression looks very strange when you type it out :p ) Thanks!
Dave
DaveWasmer.com