testing array of logicals

Simon Brunning simon at brunningonline.net
Thu Jul 13 09:44:22 EDT 2006


On 13 Jul 2006 05:45:21 -0700, John Henry <john106henry at hotmail.com> wrote:
>
> Simon Brunning wrote:
> >
> > min(logflags)
> >
>
> !!!

Be aware that not only is this an outrageous misuse of min(), it's
also almost certainly much less efficient than /F's suggestion, 'cos
it always iterates through the entire list.

-- 
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list