commit | 64d11e60f23f6b1435704adb87ebf818e5a4c0c1 | [log] [tgz] |
---|---|---|
author | Eli Bendersky <eliben@gmail.com> | Fri Jun 15 07:42:50 2012 +0300 |
committer | Eli Bendersky <eliben@gmail.com> | Fri Jun 15 07:42:50 2012 +0300 |
tree | ece3c4337e34bdb0408016b1eb38428343b75873 | |
parent | fedb04a37aff9f7a2cfe746f7fc4683e74e38bf0 [diff] |
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.