[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Confused about proper tail calls
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 29 Sep 2003 21:32:14 -0300
>I originally understood this as: when function A makes a proper tail call to function B, the stack containing A's activation record is *replaced* by that of B (since A's stack entry is reused).
This is exactly what it is.
You see what seems a complete call stack because Lua keeps tracks of the
*number* of active tail calls.
--lhf