lua-users home
lua-l archive

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

very sorry i am not able to understand properly please give me with a text below example

return true

return true

On Thu, Mar 2, 2023, 2:23 PM Sean Conner <> wrote:

  Why not chime in with this?

        local function foo()
          return foo()

Because Lua does tail-call optimization, this won't blow the stack.