[issue9915] speeding up sorting with a key
Daniel Stutzbach
report at bugs.python.org
Tue Nov 23 01:23:33 CET 2010
Daniel Stutzbach <stutzbach at google.com> added the comment:
Antoine Pitrou <report at bugs.python.org> wrote:
> Right, that wouldn't suit your present purposes. But apparently you
> are proposing to add a list sorting benchmark to the Tools directory,
> with lots of duplicated code from that repo...
Oh, I just stuck that under Tools because it was convenient for testing. The timing script is in a separate patch because I'm -0 on committing the timing script itself.
The perf.py that my timing script uses is based on the one from benchmarks/, but with 90% of the code removed, so the amount of duplicated code is less than it may at first appear.
My script could go in benchmarks/ if there was a convenient way for it to import perf.py. I wouldn't want to clutter the top-level directory with my script though. Any suggestions?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9915>
_______________________________________
More information about the Python-bugs-list
mailing list