Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
maxwell
· 17y ago · 0 comments
You'll get better performance with
for (var i=0, l=myLinkCollection.length; i<l; i++) { }
http://robertnyman.com/2008/04/11/javascript-loop-performanc...
Comments
[–]
WalkingDead
17y ago
Probably first time I am seeing a micro-optimization having some really significant impact on a micro-benchmark test.