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.
History
Date User Action Args
2013-09-20 12:41:11serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, vstinner, nadeem.vawda, eric.araujo, Arfrever, Michael.Fox
2013-09-20 12:41:11serhiy.storchakasetmessageid: <1379680871.38.0.182646700486.issue18003@psf.upfronthosting.co.za>
2013-09-20 12:41:11serhiy.storchakalinkissue18003 messages
2013-09-20 12:41:11serhiy.storchakacreate