Message135432
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. |
|
Date |
User |
Action |
Args |
2011-05-07 09:52:54 | vstinner | set | recipients:
+ vstinner |
2011-05-07 09:52:54 | vstinner | set | messageid: <1304761974.72.0.959452098494.issue12027@psf.upfronthosting.co.za> |
2011-05-07 09:52:54 | vstinner | link | issue12027 messages |
2011-05-07 09:52:54 | vstinner | create | |
|