This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Arfrever, Michael.Fox, eric.araujo, nadeem.vawda, pitrou, rhettinger, serhiy.storchaka, vstinner
Date 2013-09-20.18:53:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379703216.2501.3.camel@fsol>
In-reply-to <1379702972.61.0.977618539162.issue18003@psf.upfronthosting.co.za>
Content
> > So why not simply use BufferedReader?
> 
> Because we want good performance LZMAFile and compatibility with older
> versions.

You're reading me wrong. I'm simply suggesting that users interested in
readline() performance wrap LZMAFile in a BufferedReader. The
documentation can mention it.

>  And I guess that it will be even faster than wrapping in
> BufferedReader (due to the avoiding of double buffering).

Let's wait for the numbers, then. The performance increase would have to
be quite large to justify such code duplication.
History
Date User Action Args
2013-09-20 18:53:39pitrousetrecipients: + pitrou, rhettinger, vstinner, nadeem.vawda, eric.araujo, Arfrever, serhiy.storchaka, Michael.Fox
2013-09-20 18:53:39pitroulinkissue18003 messages
2013-09-20 18:53:38pitroucreate