[Python-Dev] PEP 326 (quick location possibility)

Skip Montanaro skip at pobox.com
Thu Jan 29 14:28:17 EST 2004


    Tim> [Skip]
    >> Perhaps a stupid observation, but empty lists, dicts, strings and
    >> tuples appear to compare larger than any int or float:

    Tim> Why do you presume it's numbers that are getting compared in a
    Tim> min/max search loop?

Sorry, false assumption.  I suspect it's the most common case.

Skip



More information about the Python-Dev mailing list