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