Message198144
| Author |
serhiy.storchaka |
| Recipients |
Arfrever, Michael.Fox, eric.araujo, nadeem.vawda, pitrou, rhettinger, serhiy.storchaka, vstinner |
| Date |
2013年09月20日.12:41:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1379680871.38.0.182646700486.issue18003@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
See issue19051. Even preliminary Python implementation noticeable speed up the reading of short lines.
$ ./python -m timeit -s "import lzma, io" "f=lzma.LZMAFile('words.xz', 'r')" "for line in f: pass"
Unpatched: 1.44 sec per loop
Patched: 1.06 sec per loop
With C implementation it should be as fast as with BufferedReader. |
|