On 2 May 2006 03:03:45 -0700, rumours say that "Iain King"
<[EMAIL PROTECTED]> might have written:


>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?

No, it doesn't so far.

More info:

<URL:http://groups.google.com/groups/search?q=group%3Acomp.lang.python+tail+recursion+optimization&qt_s=Search>
-- 
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to