[issue9915] speeding up sorting with a key

Daniel Stutzbach report at bugs.python.org
Fri Sep 24 23:30:34 CEST 2010


Daniel Stutzbach <daniel at stutzbachenterprises.com> added the comment:

> Since the patch is intended to speed up 3.2 and your posted 
> experiments were run on that, I am puzzled that you would post a
> test script to run under late 2.x instead of 3.1+.

I had originally written the test script was originally written for something else and repurposed it.  Actually, it's been repurposed at least twice so it has a long history and an unfortunate amount of cruft.  I will work on porting it to run on py3k.

My original examples did not use random data because timeit is challenging to use to time sorting of random data and I wanted to post something relatively concise.

Sometime next week I plan to post extensive timing results on random data.  I have been working on some fine-tuning of my patch as well as to my timing script.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9915>
_______________________________________


More information about the Python-bugs-list mailing list