"Arne Ludwig" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Just for completeness: The functions in Steve's original post named
> maximum calculate the minimum.
>
> Also, timing-wise, on my machine with a random list of 200000 integers
> Steve's iteration version and Mitja's version are about equal, the
> system built-in is equal or slightly slower, and Paul's version about
> 3-4x slower. If the comparison function is very complex, the mileage
> may vary of course.
>

Arne -

The version I posted (which is not mine by the way, but I've lost the
original citation) becomes much more competitive when run with psyco.  With
your list of 200,000 integers, I believe it will outpace even the C library
built-ins.

-- Paul


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to