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-10-08.22:18:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349734713.16.0.15750463897.issue16034@psf.upfronthosting.co.za>
In-reply-to
Content
I've released v0.95 of bz2file, which incorporates all the optimizations discussed here. The performance should be similar to 2.x's bz2 in most cases.

It is still a lot slower when calling read(10) or read(1), but I hope no-one is doing that anywhere where performance is important ;-)

One other note: bz2file's readline() is faster when running on 3.x than on 2.x (and in some cases faster than the 2.x stdlib version). This is probably due to improvements made to io.BufferedIOBase.readline() since 2.7, but I haven't had a chance to investigate this.

Let me know if you have any issues with the new release.
History
Date User Action Args
2012-10-08 22:18:33nadeem.vawdasetrecipients: + nadeem.vawda, jcea, python-dev, serhiy.storchaka, victorhooi
2012-10-08 22:18:33nadeem.vawdasetmessageid: <1349734713.16.0.15750463897.issue16034@psf.upfronthosting.co.za>
2012-10-08 22:18:33nadeem.vawdalinkissue16034 messages
2012-10-08 22:18:32nadeem.vawdacreate