Message65838
| Author | pitrou |
|---|---|
| Recipients | akuchling, amaury.forgeotdarc, jimjjewett, pitrou, rsc, timehorse |
| Date | 2008-04-26.10:08:05 |
| SpamBayes Score | 0.0151198 |
| Marked as misclassified | No |
| Message-id | <1209204486.67.0.433804064566.issue2636@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I don't know anything about regexp implementation, but if you replace a switch-case with a function lookup table, it isn't surprising that the new version ends up slower. A local jump is always faster than a function call, because of the setup overhead and stack manipulation the latter involves. So you might try to do the cleanup while keeping the switch-case structure, if possible. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-04-26 10:08:07 | pitrou | set | spambayes_score: 0.0151198 -> 0.0151198 recipients: + pitrou, akuchling, jimjjewett, amaury.forgeotdarc, rsc, timehorse |
| 2008-04-26 10:08:06 | pitrou | set | spambayes_score: 0.0151198 -> 0.0151198 messageid: <1209204486.67.0.433804064566.issue2636@psf.upfronthosting.co.za> |
| 2008-04-26 10:08:05 | pitrou | link | issue2636 messages |
| 2008-04-26 10:08:05 | pitrou | create | |