A new module for performing tail-call elimination

Marko Rauhamaa marko at pacujo.net
Fri Jul 17 22:55:21 CEST 2015


Terry Reedy <tjreedy at udel.edu>:

> On 7/16/2015 3:45 PM, Marko Rauhamaa wrote:
>> Nobody seemed to notice that I just posted a fairly typical tail call
>> function:
>
> Because non-recursive tail calls are completely normal.

I don't know how recursion makes a difference but that one did happen to
be recursive. It could easily have been replaced with a while loop but
there were good aesthetic reasons to leave it recursive.


Marko


More information about the Python-list mailing list