Jump to menu

Vote up?

  1. monkey

    Speaking of speed, using jQuery.each to iterate over an array is bloody slow.

    Did one of these to test:

    http://jsperf.com/array-iteration-jquery-each-vs-for/2
    (also a lot of stuff to confirm my thoughts on where var’d stuff went)

    That also brought me to trying iterating over a jQuery collection in array style:

    http://jsperf.com/looping-through-jquery-objects/2

    I wonder how big an impact any of this speed stuff is going to make, though.