/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 an XML file and perform a no-op traversing through the DOM, then measure clone the document and perform a no-op traversing through the cloned DOM?

--
Stanimir

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

Reply via email to