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 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.
History
Date User Action Args
2012-09-30 11:16:09nadeem.vawdasetrecipients: + nadeem.vawda, jcea, python-dev, serhiy.storchaka, victorhooi
2012-09-30 11:16:09nadeem.vawdasetmessageid: <1349003769.09.0.435194952922.issue16034@psf.upfronthosting.co.za>
2012-09-30 11:16:09nadeem.vawdalinkissue16034 messages
2012-09-30 11:16:08nadeem.vawdacreate