[New-bugs-announce] [issue8009] email.parser.Parser is inefficient with large strings

Márcio Faustino report at bugs.python.org
Wed Feb 24 10:44:04 CET 2010


New submission from Márcio Faustino <m.faustino at gmail.com>:

The email parser class is slow and memory intensive when dealing with sufficiently large strings.

For example, on a Windows 7 64-bit running at 1.60 GHz the attached test file gives the following results (number of seconds it took to parse a 10 MiB string):
Original: 76.6973627829
Modified: 0.231140741387

----------
components: Library (Lib)
files: test.py
messages: 100019
nosy: marcio
severity: normal
status: open
title: email.parser.Parser is inefficient with large strings
type: performance
versions: Python 2.6
Added file: http://bugs.python.org/file16355/test.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8009>
_______________________________________


More information about the New-bugs-announce mailing list