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 | facundobatista |
|---|---|
| Recipients | Indy, facundobatista |
| Date | 2008年07月11日.02:43:58 |
| SpamBayes Score | 0.002746668 |
| Marked as misclassified | No |
| Message-id | <1215744242.41.0.296434587358.issue3159@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
If readability is enhanced is questionable, but is rejected on the basis that cosmetic-only changes are not generally recommended: only difficults following the code evolution in the repository. The only change that I see regarding performance is the one involving startswith, and it's actually wrong: facundo@pomcat:~$ timeit.py -s "s='qwerty'" "s[0]=='q';s[0]=='x'" 1000000 loops, best of 3: 0.338 usec per loop facundo@pomcat:~$ timeit.py -s "s='qwerty'" "s.startswith('q');s.startswith('x')" 1000000 loops, best of 3: 0.854 usec per loop Thanks anyway! |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年07月11日 02:44:06 | facundobatista | set | spambayes_score: 0.00274667 -> 0.002746668 recipients: + facundobatista, Indy |
| 2008年07月11日 02:44:02 | facundobatista | set | spambayes_score: 0.00274667 -> 0.00274667 messageid: <1215744242.41.0.296434587358.issue3159@psf.upfronthosting.co.za> |
| 2008年07月11日 02:43:59 | facundobatista | link | issue3159 messages |
| 2008年07月11日 02:43:58 | facundobatista | create | |