Index of maximum element in list

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Sat Jan 26 17:12:37 EST 2008


Steven D'Aprano:
> Much to my surprise, the fastest solution I've tried appears to be a pure
> Python version not even using max() at all.

That version is easy to translate to other languages and you can
probably find that Psyco makes it much faster still.

Bye,
bearophile



More information about the Python-list mailing list