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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to