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 tseaver
Recipients ajaksu2, jepler, orsenthil, pitrou, rhettinger, tseaver
Date 2010-04-29.22:24:39
SpamBayes Score 0.002638931
Marked as misclassified No
Message-id <1272579882.94.0.293677484972.issue1285086@psf.upfronthosting.co.za>
In-reply-to
Content
I'm uploading a saner version of the speed test which uses timeit's support for passing a callable as a statement:  it is much easier to
see what the test is actually doing.

On my machine, running against the release26-maint branch, my version runs anywhere from 67% to 85% faster on the cases where no quoting actually needs to be done.  In production use, where urlib.quote is used as a safety check, these cases far outweigh the cases which actually require quoting.
History
Date User Action Args
2010-04-29 22:24:43tseaversetrecipients: + tseaver, jepler, rhettinger, orsenthil, pitrou, ajaksu2
2010-04-29 22:24:42tseaversetmessageid: <1272579882.94.0.293677484972.issue1285086@psf.upfronthosting.co.za>
2010-04-29 22:24:40tseaverlinkissue1285086 messages
2010-04-29 22:24:40tseavercreate