|
|
|
|
|
by iwillreply
4834 days ago
|
|
It's strange you blame jQuery outright for slowness of the DOM, and reference the jsFiddle as your reference point of speed. Writing this utilising jQuery for DOM manipulation ( http://jsfiddle.net/YNxEK/7/ ) is getting me consistently faster results than the original fiddle ( http://jsfiddle.net/YNxEK/ ) on Firefox and Chrome. |
|
http://jsfiddle.net/2kWdC/
That way uses an indexed for-loop, but the while loop with Array.push was just as bad.