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 kasal
Recipients alanmcintyre, jcea, kasal, serhiy.storchaka
Date 2012-12-03.16:51:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354553495.9.0.00716641165961.issue16569@psf.upfronthosting.co.za>
In-reply-to
Content
> but I'm afraid it's impossible to do without performance regression due to seek before every read.

I agree that this is key question.

I would hope that the performance hit wouldn't be so bad, unless there are actually two decompressions running concurrently.
So we can have an implementation that is generally correct, though some use scenarios result in slow execution.

OTOH, if the seek() call were a problem even if the new position is the same as the old one, they can be optimized out by a simple wrapper around fp.
History
Date User Action Args
2012-12-03 16:51:35kasalsetrecipients: + kasal, jcea, alanmcintyre, serhiy.storchaka
2012-12-03 16:51:35kasalsetmessageid: <1354553495.9.0.00716641165961.issue16569@psf.upfronthosting.co.za>
2012-12-03 16:51:35kasallinkissue16569 messages
2012-12-03 16:51:35kasalcreate