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/2003-October/039366.html below:

[Python-Dev] Re: product()

[Python-Dev] Re: product() [Python-Dev] Re: product()Skip Montanaro skip at pobox.com
Thu Oct 23 10:08:11 EDT 2003
    David> Maybe it would be useful to get some feeling for how much other
    David> functions get used in reduce?

Looking at my own code collection I found five instances of reduce(), all
used either a defined sum function or the equivalent lambda.  There are
probably many other contexts where I might have used reduce, but where it
either didn't occur to me or didn't make the code easier to read or faster.
I'd be happy if you deprecated reduce() today. ;-)

Skip

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