lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>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