Message 70142 - Python tracker
Message70142
| Author | biny |
|---|---|
| Recipients | biny |
| Date | 2008-07-22.09:30:37 |
| SpamBayes Score | 0.0006503254 |
| Marked as misclassified | No |
| Message-id | <1216719039.65.0.915247754712.issue3424@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The order of tests in imghdr makes it slow in common cases. Even without any statistics it is quite easy to see that jpeg is the most common format. In imghdr only bmp and png are after it. Also, should png really be the last one? Nearly all digital cameras produce jpegs and handling such images is one big use case for this module. Changing the test order should be easy and have big effect in common use cases. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-07-22 09:30:40 | biny | set | spambayes_score: 0.000650325 -> 0.0006503254 recipients: + biny |
| 2008-07-22 09:30:39 | biny | set | spambayes_score: 0.000650325 -> 0.000650325 messageid: <1216719039.65.0.915247754712.issue3424@psf.upfronthosting.co.za> |
| 2008-07-22 09:30:38 | biny | link | issue3424 messages |
| 2008-07-22 09:30:37 | biny | create | |