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

Benji York benji at
Wed Aug 3 19:12:55 CEST 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