/Robert Houben/:

I ran extensive tests to see if clone would be faster (assumed it would, at first). I found that reparsing the original file (assuming it hadn't changed) was significantly faster than clone. If you have to serialize first, you might lose that advantage but I seem to recall it was significant.

Could the faster reparsing be because of the deferred DOM implementation? Have you tried measuring - parse then noop iterate over the tree and clone then noop iterate over the tree?

--
Stanimir

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to