[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: (no subject)
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 15 Feb 2013 09:53:16 +0200
2013/1/23 Coda Highland <chighland@gmail.com>:
>
> 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.)