Message92257
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. |
|
Date |
User |
Action |
Args |
2009-09-04 16:08:42 | cjw296 | set | recipients:
+ cjw296 |
2009-09-04 16:08:41 | cjw296 | set | messageid: <1252080521.37.0.722122314932.issue6838@psf.upfronthosting.co.za> |
2009-09-04 16:08:39 | cjw296 | link | issue6838 messages |
2009-09-04 16:08:38 | cjw296 | create | |
|