returning none when it should be returning a list?
Iain King
iainking at gmail.com
Tue May 2 06:03:45 EDT 2006
John Machin wrote:
>
> # Doh! Looks like recursion not necessary. Google 'eliminate tail
> recursion' :-)
>
I did, and found this:
http://www.biglist.com/lists/dssslist/archives/199907/msg00389.html
which explains that the Scheme compiler optimises (obvious) tail
recursion into iterative code. I'm wondering if the python compiler
does the same?
Iain
More information about the Python-list
mailing list