Speed: bytecode vz C API calls
jacek.generowicz at cern.ch
Wed Dec 10 17:26:49 CET 2003
aahz at pythoncraft.com (Aahz) writes:
> Generally speaking, map() won't be any faster than a for loop.
This is at odds with my own experience (including a lot of timing runs
in the last two days), countless posts on this newsgroup over the
years, and, for exapmle, this article
by Guido, in which he concludes that
"An implied loop in map() is faster than an explicit for loop"
More information about the Python-list