Why is recursion so slow?

Rich Harkins rharkins at nettrekker.com
Tue Jul 1 17:13:19 EDT 2008


Nick Craig-Wood wrote:
[snip]
> By definition any function in a functional language will
> always produce the same result if given the same arguments, so you can
> memoize any function.
> 

Ah, so that's why time.time() seems to be stuck...  ;)

Rich




More information about the Python-list mailing list