sorting list of complex numbers
Arnaud Delobelle
arnodel at googlemail.com
Tue Nov 18 16:01:41 EST 2008
Paul Rubin <http://phr.cx@NOSPAM.invalid> 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.
--
Arnaud
More information about the Python-list
mailing list