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/2016-September/146393.html below:

[Python-Dev] Drastically improving list.sort() for lists of strings/ints

[Python-Dev] Drastically improving list.sort() for lists of strings/ints [Python-Dev] Drastically improving list.sort() for lists of strings/intsRaymond Hettinger raymond.hettinger at gmail.com
Sun Sep 11 13:30:12 EDT 2016
> On Sep 11, 2016, at 12:45 AM, Elliot Gorokhovsky <elgo8537 at colorado.edu> wrote:
> 
> I am interested in making a non-trivial improvement to list.sort(), but before I put in the work, I want to test the waters and see if this is something the community would accept. Basically, I want to implement radix sort for lists of strings. So list.sort() would detect if it is sorting a list of strings (which is one of the more common things you sort in python) and, if so, use in-place radix sort (see https://xlinux.nist.gov/dads/HTML/americanFlagSort.html).

For those who are interested, here is a direct link to the PDF that describes the algorithm.

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.22.6990&rep=rep1&type=pdf


Raymond

More information about the Python-Dev mailing list

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