Map with an extra parameter

Paul Rubin http
Fri Sep 8 20:30:55 EDT 2006


"ml1n" <emlyn at brizzle.com> writes:
> In the interests of speed my thinking was that using map would move the
> loop out of Python and into C, is that the case when using list
> comprehension?  I'd always thought it was just syntatic short hand for
> a Python loop.

Best to run benchmarks, but I don't expect a huge difference between
any of them.



More information about the Python-list mailing list