Message135449
STINNER Victor wrote:
>
> New submission from STINNER Victor <victor.stinner@haypocalc.com>:
>
> Patch to optimize this: make it 10 times faster.
>
> Try attached benchmark script. On a debug build I got the following results:
> * original: 299.8 ms
> * patched: 23.2 ms
>
> I expected a factor of 10 because it uses a C implementation of rot13 instead of an hand made Python implementation.
It's a bit late for an April 1st patch, but +1 for the fun of it :-) |
|
Date |
User |
Action |
Args |
2011-05-07 11:58:56 | lemburg | set | recipients:
+ lemburg, barry, pitrou, vstinner, benjamin.peterson |
2011-05-07 11:58:54 | lemburg | link | issue12027 messages |
2011-05-07 11:58:54 | lemburg | create | |
|