Python3: on removing map, reduce, filter
elephantum at dezcom.mephi.ru
Sun Jan 9 17:10:49 CET 2005
Steve Holden wrote:
> Andrey Tatarinov wrote:
>> How does GvR suggestions on removing map(), reduce(), filter()
>> correlate with the following that he wrote himself (afaik):
> And note that the summary in the conclusiogn BEGINS with "Rule number
> one: only optimize when there is a proven speed bottleneck", which seems
> to adequately imply that straightforward code is to be preferred unless
> speed requirements override that.
My main question was: "how could be this advices applied, when map,
reduce and filter would be removed?"
but earlier I got answers about speed of list comprehensions, though
they need to be proved.
More information about the Python-list