lua-users home
lua-l archive

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

In Lua 5.1 and LuaJIT, `unpack()` accepts tables of up to 8000 elements.

Lua 5.2 lifts this limit for `table.unpack()`, but the maximum size
varies according to the circumstance.

In my test case, it works up to 999970 in the REPL, and 999977 from a script.

Is there a any guaranteed safe size?

-- Pierre-Yves