By bloid
via blogs.sun.com
Published: Jul 25 2008 / 22:32
I built a loop benchmarking test suite for different ways of coding loops in JavaScript. There are a few of these out there already, but I didn't find any that acknowledged the difference between native arrays and HTML collections. Since the underlying implementations are different (HTML collections for example lack the pop() and slice() methods), benchmarks that don't test against both are probably missing important information.
Tweet
SaveShareSend
Tags: javascript
Add your comment
Voters For This Link (12)
-
bloid -
mswatcher -
kremso -
rogerjose81 -
alashcraft -
sobin -
fabiocaseri -
mmurph211 -
angus_ymchan -
dubness -
polterguy -
me.yahoo.com/a/KWYYjM95lMiM2ukvalPyXN2AzbD.LOvp