A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-July/026962.html below:

[Python-Dev] Sorting

[Python-Dev] SortingTim Peters tim.one@comcast.net
Fri, 26 Jul 2002 12:02:34 -0400
Apart from fine-tuning and rewriting the doc file, I think the mergesort is
done.  I'm confident that if any bugs remain, I haven't seen them <wink>.  A
patch against current CVS listobject.c is here:

    http://www.python.org/sf/587076

Simple instructions for timing exactly the same data I've posted times
against are in the patch description (you already have sortperf.py -- it's
in Lib/test).  This patch doesn't replace samplesort, it adds a new .msort()
method, to make comparative timings easier.  It also adds an .hsort() method
for weak heapsort, because I forgot to delete that code after I gave up on
it <wink>.

X-platform samplesort timings are interesting as well as samplesort versus
mergesort timings.  Timings against "real life" sort jobs are especially
interesting.  Attaching results to the bug report sounds like a good idea to
me, so we get a coherent record in one place.

Thanks in advance!




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4