Possibly Pythonic Tail Call Optimization (TCO/TRE)
Mark Lawrence
breamoreboy at yahoo.co.uk
Wed Jul 15 19:34:51 EDT 2015
On 15/07/2015 23:34, Gregory Ewing wrote:
> Mark Lawrence wrote:
>> IIRC the realms of the C setjmp and longjmp.
>
> Not really the same thing. A longjmp chops the stack
> back, whereas a tail call avoids putting something on
> the stack to begin with.
>
Thanks for that :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Python-list
mailing list