5 ms·
You'll get better performance with for (var i=0, l=myLinkCollection.length; i<l; i++) { } http://robertnyman.com/2008/04/11/javascript-loop-performance/ htt
by maxwell 17y ago
You'll get better performance with
for (var i=0, l=myLinkCollection.length; i<l; i++) { }
http://robertnyman.com/2008/04/11/javascript-loop-performance/ http://robertnyman.com/2008/04/11/javascript-loop-performanc...
- WalkingDead 17y agoProbably first time I am seeing a micro-optimization having some really significant impact on a micro-benchmark test.