[Python-Dev] Proper tail recursion

Michael Walter michael.walter at gmail.com
Wed Jul 14 22:12:22 CEST 2004


Is is strictly impossible to implement tail recursion elimination in
Jython with its current design (which I'm not familiar with)?

Cheers,
Michael

On Wed, 14 Jul 2004 15:53:19 -0400 (EDT), Christopher T King
<squirrel at wpi.edu> wrote:
> On Wed, 14 Jul 2004, [ISO-8859-1] "Martin v. Löwis" wrote:
> 
> > The traditional answer to that question is "because Jython cannot
> > support it".
> 
> Which is why I prefer to view it as a performance enhancement, rather than
> a language feature.  Deep recursive algorithms would still run under
> Jython; they would just use a heck of a lot more memory than in CPython.
> 
> 
> 
> 
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/michael.walter%40gmail.com
>


More information about the Python-Dev mailing list