Why is xml.dom.minidom so slow?
Fredrik Lundh
fredrik at pythonware.com
Fri Jan 3 03:20:40 EST 2003
Lulu of the Lotus-Eaters wrote:
> PyExpat is pretty darn fast. I would be quite surprised if you could do
> several times better with a custom C++ parser.
moving the tree building from Python to C++ can easily buy you 10x,
no matter what parser you're using.
(if you think otherwise, you're seriously underestimating the cost of a
C++ -> Python call...)
</F>
More information about the Python-list
mailing list