problem with sorting
bearophileHUGS at lycos.com
bearophileHUGS at lycos.com
Fri Mar 28 08:24:41 EDT 2008
Duncan Booth:
> Both this and raj's suggestion create a single sorted list. Your suggestion
> creates two lists: the unsorted one and a separate sorted one. In most
> cases the difference is probably insignificant, but if you have a *lot* of
> values it might make a difference.
The good thing of Python 3.0 is that it forces you to do the right
thing here :-)
Bye,
bearophile
More information about the Python-list
mailing list