sort one list using the values from another list

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Sun Feb 26 16:47:18 EST 2006


>It's faster on my system because d.keys() is already sorted.  But that may not be the case on other versions of python.<

In my version it's a little slower. But what system are you using where
keys is already sorted? IronPython maybe?

Bye,
bearophile




More information about the Python-list mailing list