Message104594
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. |
|
Date |
User |
Action |
Args |
2010-04-29 22:24:43 | tseaver | set | recipients:
+ tseaver, jepler, rhettinger, orsenthil, pitrou, ajaksu2 |
2010-04-29 22:24:42 | tseaver | set | messageid: <1272579882.94.0.293677484972.issue1285086@psf.upfronthosting.co.za> |
2010-04-29 22:24:40 | tseaver | link | issue1285086 messages |
2010-04-29 22:24:40 | tseaver | create | |
|