lua-users home
lua-l archive

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

2013/1/23 Coda Highland <>:

> My statement stands: table.concat() is the fastest way to do it.
> There's no other way to do it without exposing yourself to quadratic
> behavior.

What about a C function that simply calls lua_concat on the whole
stack and passing it table.unpack(tbl) as argument list? Faster,
slower, much the same? (Of course, the semantics is then
different: metamethods may be called.)