[issue15220] Reduce parsing overhead in email.feedparser.BufferedSubFile

2013-02-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f827775f7b7 by R David Murray in branch 'default': #15220: simplify and speed up feedparser's line splitting. http://hg.python.org/cpython/rev/0f827775f7b7 -- nosy: +python-dev ___ Python tracker

[issue15220] Reduce parsing overhead in email.feedparser.BufferedSubFile

2013-02-13 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue15220] Reduce parsing overhead in email.feedparser.BufferedSubFile

2012-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Realistically, any performance improvement is 3.4-only now. -- nosy: +pitrou versions: +Python 3.4 -Python 2.7, Python 3.3 ___ Python tracker _

[issue15220] Reduce parsing overhead in email.feedparser.BufferedSubFile

2012-06-28 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: This is a performance enhancement. Out of question for 3.2. Python 3.3 is in beta now, and this would be considered a new feature, but I think it is pretty safe to apply. I am +1 to applying it. Personally I would apply it to 2.7 too, but current official po

[issue15220] Reduce parsing overhead in email.feedparser.BufferedSubFile

2012-06-28 Thread R. David Murray
New submission from R. David Murray : 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 mor