lua-users home
lua-l archive

Re: LuaJIT and tail call recursion

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


On Wed, Jul 6, 2011 at 09:01, Benjamin Segovia
<segovia.benjamin@gmail.com> 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

AltStyle によって変換されたページ (->オリジナル) /