• Eli Bendersky's avatar
    Replace the iter/itertext methods of Element in _elementtree with true C… · 64d11e60
    Eli Bendersky yazdı
    Replace the iter/itertext methods of Element in _elementtree with true C implementations, instead of the bootstrapped Python code. In addition to being cleaner (removing the last remains of the bootstrapping code in _elementtree), this gives a 10x performance boost for iter() on large documents.
    Also reorganized the tests a bit to be more robust.
    64d11e60
test_xml_etree.py 67.4 KB