lua-users home
lua-l archive

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


On Wed, Jul 6, 2011 at 09:01, Benjamin Segovia
<[email protected]> wrote:
> does tail call recursion abort traces?

No. Tail calls are actually translated into native jump instructions.
As a consequence, tail recursion is as fast as native loops.

see http://lua-users.org/lists/lua-l/2010-02/msg00582.html

-- Pierre-Yves