|
|
|
|
|
by Stratoscope
5174 days ago
|
|
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. |
|