each function was the slowest. It's worth mentioning again that these investigations are pretty academic - array iteration and looping speed is unlikely to be the source of performance problems compared to actual program logic, DOM manipulation, string manipulation, etc. I just found it interesting to poke into how things work in different browsers. That said, with the recent release of jQuery 1.4 emphasizing performance so much, I wanted to see what if anything could be done to speed up
each (which is used inside jQuery all over the place), and whether it would made much of a difference.
Again, the details are after the jump.
This gets pretty long so the rest is after the jump.