Re:Laconic: A Sane Method of Generating DOM Content in JavaS...
by Stratoscope on Thursday April 26, 2012 @12:38AM
(#3892455)
I tried that some years ago (see my other comment). I had a very similar DOM creation function and I updated it to generate HTML instead. It was almost as slow as before - and then I realized that the sheer amount of JS code I was running to generate the HTML was taking up the time.
Of course the performance tradeoff would be different in modern browsers.
Of course the performance tradeoff would be different in modern browsers.