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 lemburg
Recipients barry, benjamin.peterson, lemburg, pitrou, vstinner
Date 2011-05-07.11:58:54
SpamBayes Score 4.991739e-09
Marked as misclassified No
Message-id <4DC533F9.7020601@egenix.com>
In-reply-to <1304761974.72.0.959452098494.issue12027@psf.upfronthosting.co.za>
Content
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 :-)
History
Date User Action Args
2011-05-07 11:58:56lemburgsetrecipients: + lemburg, barry, pitrou, vstinner, benjamin.peterson
2011-05-07 11:58:54lemburglinkissue12027 messages
2011-05-07 11:58:54lemburgcreate