Help with optimisation

Alex Martelli aleax at mac.com
Mon Aug 13 11:28:23 EDT 2007


special_dragonfly <Dominic at PLEASEASK.co.uk> wrote:
   ...
>     dom=xml.dom.minidom.parseString(text_buffer)

If you need to optimize code that parses XML, use ElementTree (some
other parsers are also fast, but minidom ISN'T).


Alex



More information about the Python-list mailing list