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 r.david.murray
Recipients barry, r.david.murray
Date 2012-06-28.21:19:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340918364.55.0.874046229823.issue15220@psf.upfronthosting.co.za>
In-reply-to
Content
The idea for the attached patch comes from the QNX development team.  In their measurements, replacing the re.split-plus-line-reassembly code in BufferedSubFile with str.splitlines provided a 30% reduction in email parsing time.  The code is also a lot more readable, which is a plus.

The patch is simple enough, and the improvement is large enough, that I'd like to apply this to all active branches.
History
Date User Action Args
2012-06-28 21:19:24r.david.murraysetrecipients: + r.david.murray, barry
2012-06-28 21:19:24r.david.murraysetmessageid: <1340918364.55.0.874046229823.issue15220@psf.upfronthosting.co.za>
2012-06-28 21:19:23r.david.murraylinkissue15220 messages
2012-06-28 21:19:23r.david.murraycreate