2010/12/22 Andraž Kos <[email protected]> > Thank you for your help. > > http://jsperf.com/dom-tree-clone-vs-creating-each-element/2 > > Tests show that cloning is 38% better performer. What part of the code > would be the most likely culprit, the repeated calls to "new Element" or > something else? > > On Tue, Dec 21, 2010 at 23:47, Acaz Souza Pereira <[email protected]>wrote: > >> I do a test for you about that in JS PERF: >> http://jsperf.com/dom-tree-clone-vs-creating-each-element > >
There is some problem with these tests, as it throws some error in Opera 11. And the error is somewhat strange, at least i haven't seen such (although i've never used MooTools either). Error: java.lang.NoSuchFieldException: getAttribute in class: nano. message: java.lang.NoSuchFieldException: getAttribute in class: nano code: 9 -- Poetro -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
