5 ms·
In fact, using a document fragment is actually faster at least in some cases: http://jsperf.com/svg-fragment-test http://jsperf.com/svg-fragment-test
by spellboots 13y ago
In fact, using a document fragment is actually faster at least in some cases: http://jsperf.com/svg-fragment-test http://jsperf.com/svg-fragment-test
- microcolonel 13y agoThe naiive approach was fastest for this example, but that's probably because the document was so small.