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 nirai
Recipients lucifer, nirai, pitrou
Date 2010-01-04.22:39:30
SpamBayes Score 3.3902157e-07
Marked as misclassified No
Message-id <1262644774.25.0.861390590237.issue7610@psf.upfronthosting.co.za>
In-reply-to
Content
Right, I was reading the 3.1 docs by mistake.

I updated the patch. This time universal newlines are supported.

On my dataset (75MB 650K lines log file) the readline() speedup is x40 for 'r' mode and x8 for 'rU' mode, and you can get an extra bump by using the io module wrappers.

I added tests for interleaved use of readline() and read() (which add ~2 seconds to running time)
History
Date User Action Args
2010-01-04 22:39:34niraisetrecipients: + nirai, pitrou, lucifer
2010-01-04 22:39:34niraisetmessageid: <1262644774.25.0.861390590237.issue7610@psf.upfronthosting.co.za>
2010-01-04 22:39:33nirailinkissue7610 messages
2010-01-04 22:39:33niraicreate