Wednesday, June 28, 2006

Flash 9 Pro Public Alpha!

Download!

This popped up first on digg of all places!

Get it while it's hot!
Flash 9 About Screen

Tuesday, June 27, 2006

Arrays Faster Than Objects?

I was talking with my friend Jarrad tonight and he pointed out that simply switching out an object for an array yeilded speed improvements. This got me thinking, is it true?

In my test it showed that objects are faster, but only slightly.

The test involves both an object and an array filled with seven values/properties all containing the same ammount of data. It then runs a ten-thousand iteration for loop and adds the same value to each index/property (both using a for..in loop to weed out any inaccuracies).

The results are as followed:

Object Time: 1773ms
Array Time: 1977ms


Interesting :)