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 cjw296
Recipients cjw296
Date 2009-09-04.16:08:35
SpamBayes Score 0.00010669052
Marked as misclassified No
Message-id <1252080521.37.0.722122314932.issue6838@psf.upfronthosting.co.za>
In-reply-to
Content
As the comment in this method suggests, accumulating the value by repeated string concatenation is slow. Appending to a list speeds this 
up dramatically.

To quantify this, downloading a 110Mb file from Apache take:

~3s using Internet Explorer
2.2s using wget
30mins using the script in http://mail.python.org/pipermail/python-
dev/2009-September/091581.html

With the attached patch applied, this time drops to 2.3s.
History
Date User Action Args
2009-09-04 16:08:42cjw296setrecipients: + cjw296
2009-09-04 16:08:41cjw296setmessageid: <1252080521.37.0.722122314932.issue6838@psf.upfronthosting.co.za>
2009-09-04 16:08:39cjw296linkissue6838 messages
2009-09-04 16:08:38cjw296create