J
John Gordon
I recently inherited some code that uses xml.dom.minidom to build a large
XML document, and I noticed that it is quite slow and uses a ton of memory.
I converted the same code to use lxml.etree and it is much faster and
uses not nearly so much memory.
Why is minidom so hungry for resources? What is it doing with all that
memory and CPU?
XML document, and I noticed that it is quite slow and uses a ton of memory.
I converted the same code to use lxml.etree and it is much faster and
uses not nearly so much memory.
Why is minidom so hungry for resources? What is it doing with all that
memory and CPU?