Message171628
| Author |
nadeem.vawda |
| Recipients |
jcea, nadeem.vawda, python-dev, serhiy.storchaka, victorhooi |
| Date |
2012年09月30日.11:16:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1349003769.09.0.435194952922.issue16034@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Yes, of course.
Awesome. I plan to do a new release for this in the next couple of days.
> We can even speed up 1.5 times the reading of small chunks, if we inline _check_can_read() and _read_block().
Interesting idea, but I don't think it's worthwhile. It looks like this is only a noticeable improvement if size is 10 or 1, and I don't think these are common cases (especially not for users who care about performance). Also, I'm reluctant to have two copies of the code for _read_block(); it makes the code harder to read, and increases the chance of introducing a bug when changing the code.
> The same approach is applied for LZMAFile.
Of course. I'll apply these optimizations to LZMAFile next weekend. |
|