In-place decorate-sort-undecorate - best implementation?

Benji York benji at benjiyork.com
Wed Aug 3 13:12:55 EDT 2005


Tom Anderson wrote:
> I don't have python 2.4; anyone care to check how they compare there? I 
> used the following timer function:

I think on 2.4 the new "key" option to list.sort would be the fastest 
way to accomplish what you want.
--
Benji York





More information about the Python-list mailing list