Why is xml.dom.minidom so slow?
Lulu of the Lotus-Eaters
mertz at gnosis.cx
Fri Jan 3 04:01:28 CET 2003
"Bjorn Pettersen" <BPettersen at NAREX.com> wrote previously:
|As a test, I tried building my own tree directly from the Expat events.
|This was about 4 times faster (2.89 accts/sec), but still far from fast
|enough... I'm starting to think a custom C++ parser might be...
PyExpat is pretty darn fast. I would be quite surprised if you could do
several times better with a custom C++ parser. You might take a look at
RXP/PyRXP, which brags of its speed. But even then, it claims a few
percent better than expat, not several times (albeit, with validation
Keeping medicines from the bloodstreams of the sick; food from the bellies
of the hungry; books from the hands of the uneducated; technology from the
underdeveloped; and putting advocates of freedom in prisons. Intellectual
property is to the 21st century what the slave trade was to the 16th.
More information about the Python-list