Message171628
> 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. |
|
Date |
User |
Action |
Args |
2012-09-30 11:16:09 | nadeem.vawda | set | recipients:
+ nadeem.vawda, jcea, python-dev, serhiy.storchaka, victorhooi |
2012-09-30 11:16:09 | nadeem.vawda | set | messageid: <1349003769.09.0.435194952922.issue16034@psf.upfronthosting.co.za> |
2012-09-30 11:16:09 | nadeem.vawda | link | issue16034 messages |
2012-09-30 11:16:08 | nadeem.vawda | create | |
|