XML parsing speed

Martin v. Löwis martin at v.loewis.de
Fri May 23 01:14:52 EDT 2003


"Jamie" <jamierh_76 at hotmail.com> writes:

> Do any of you know of any tricks/techniques to speed up XML parsing in
> Python? The SAX takes 40+ seconds to parse 1.5 MB of XML data. Have any of
> you managed to get around this problem?

Use Expat directly. If that doesn't help, use sgmlop of PyXML.

Regards,
Martin




More information about the Python-list mailing list