Why is lambda so slow?

Peter Hansen peter at engcorp.com
Mon Jun 9 07:24:05 EDT 2003


anson wrote:
> 
>     What's the reason of lambda being so slow?

Probably (since you don't define what you mean by "so slow")
you are referring to the effect of it implementing a function
call, which in Python is a relatively expensive operation to
set up (creating the stack frame, etc).

I think any other response requires you to define "how slow"
you think it is...

-Peter




More information about the Python-list mailing list