Message198161
| 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. |
|