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 vstinner
Recipients vstinner
Date 2011-05-07.09:52:53
SpamBayes Score 1.4573307e-05
Marked as misclassified No
Message-id <1304761974.72.0.959452098494.issue12027@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-05-07 09:52:54vstinnersetrecipients: + vstinner
2011-05-07 09:52:54vstinnersetmessageid: <1304761974.72.0.959452098494.issue12027@psf.upfronthosting.co.za>
2011-05-07 09:52:54vstinnerlinkissue12027 messages
2011-05-07 09:52:54vstinnercreate