Message144436
Attached small diff speeds up extracting a gzipped tarball on my machine using python 3.2 by 3-5%. It will probably be a larger percentage on machines that have faster hard drives (mine is 5400rpm).
Basically, the changes speed up calculating the checksums by only doing one slice rather than four and call struct.unpack twice rather than four times. We are able to use less unpack calls because 'x' means to skip a byte. |
|
Date |
User |
Action |
Args |
2011-09-23 04:48:56 | jpeel | set | recipients:
+ jpeel |
2011-09-23 04:48:55 | jpeel | set | messageid: <1316753335.88.0.48389267066.issue13031@psf.upfronthosting.co.za> |
2011-09-23 04:48:55 | jpeel | link | issue13031 messages |
2011-09-23 04:48:54 | jpeel | create | |
|