Javascript Typed Arrays: Method Support

Al MacDonald recently posted http://weblog.bocoup.com/javascript-typed-arrays - which is an interesting look at the benchmarkable speed differences between FireFox 4’s Float32Array constructor and the traditional Array constructor.


As expected, the Typed Arrays are definitively faster due entirely to native optimization: they only allow integer or floating point numbers (respectively to their Int or Float prefix); additionally length is required and immutable.


What about the nitty gritty? I whipped up a basic test suite to check support for methods of the traditional Array object - take a look:


This entry was posted by Rick Waldron (@rwaldron) on July 15, 2010 in Firefox and JavaScript.

Comments

Author

This entry was posted by Rick Waldron (@rwaldron) on July 15, 2010 in Firefox and JavaScript.

Recent posts from this author

Related on the Bocoup Blog

Advertisement

Twitter

Google+