Benefits of xml.dom.minidom?

Hidura hidura at gmail.com
Thu Oct 20 14:55:38 EDT 2011


I use minidom all the time and i don' t have that problem could you describe
more of the process ?
El oct 20, 2011 5:53 p.m., "John Gordon" <gordon at panix.com> escribió:
>
> 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?
>
> --
> John Gordon                   A is for Amy, who fell down the stairs
> gordon at panix.com              B is for Basil, assaulted by bears
>                                -- Edward Gorey, "The Gashlycrumb Tinies"
>
> --
> http://mail.python.org/mailman/listinfo/python-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20111020/66238dcd/attachment.html>


More information about the Python-list mailing list