News for hackers. Stuff that matters.
Re:The DOM isn't slow by iwillreply on Tuesday March 19, 2013 @11:03AM (#5401282)
Why would you append on every loop. Rather than build the string and then append the whole lot on one block?

If you compare the DOM of the original fiddle and the DOM of following the fiddle I posted. You will see they are the same.

I'm not saying what I referenced is the 'best' way of doing things. But that the debate in the original article (based on the provided examples) is pretty null.

Re:The DOM isn't slow by emehrkay on Tuesday March 19, 2013 @11:28AM (#5401432)
You're right, my example was different. But upon fixing it to match the original article's example, but with jQuery creating the dom nodes, it is still slower

http://jsfiddle.net/EmEhRKay/YNxEK/13/