sorting list of complex numbers

Arnaud Delobelle arnodel at
Tue Nov 18 22:01:41 CET 2008

Paul Rubin <> writes:

> for fancier structures you'd need a full blown class implementation
> with an init method.  Either way you end up temporarily allocating a
> lot of extra structures, but at least they're not all in memory
> simultaneously like in the DSU pattern.

The implementation of python sort uses the DSU patterns.


More information about the Python-list mailing list