Ask HN: Closures in JavaScript loop no longer have performance penalty?
In fact it appears that Chrome makes it faster - http://jsben.ch/ZX5Td
My suspicion is it inlines code of the function in first code block and avoids long calls.
My suspicion is it inlines code of the function in first code block and avoids long calls.
No comments yet.