A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-October/104627.html below:

[Python-Dev] [Python-ideas] minmax() function returning (minimum, maximum) tuple of a sequence

[Python-Dev] [Python-ideas] minmax() function returning (minimum, maximum) tuple of a sequence [Python-Dev] [Python-ideas] minmax() function returning (minimum, maximum) tuple of a sequenceBenjamin Peterson benjamin at python.org
Mon Oct 11 02:15:08 CEST 2010
2010/10/10 Antoine Pitrou <solipsis at pitrou.net>:
> Personnally, I'm not convinced that a maximum 25% improvement on a
> rather uncommon use case (min() and max() on a sequence of objects
> which take a long time to compare) is a compelling argument for a
> builtin.  On the other hand, it would be a rather simple and intuitive
> builtin, so why not?

Because new builtins should have a better reason that there's no good
reason not to. :)


-- 
Regards,
Benjamin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4