Message144436
| Author |
jpeel |
| Recipients |
jpeel |
| Date |
2011年09月23日.04:48:53 |
| SpamBayes Score |
4.8564852e-06 |
| Marked as misclassified |
No |
| Message-id |
<1316753335.88.0.48389267066.issue13031@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|