[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: table.concat or unpack
- From: Ben Sunshine-Hill <sneftel@...>
- Date: Fri, 16 Jul 2004 09:45:50 -0700
The latter is almost certainly faster. String concatenation tends to
be slow (less so since it's done on the C side, tho) and there's no
real need to do it here.
As for "better".... *shrug*
On Fri, 16 Jul 2004 18:17:53 +0200 (BST), Markus Huber <pulse@elmulab.de> wrote:
> Wich version is better?
>
> io.write(table.concat(arg))
>
> or
>
> io.write(unpack(arg))
>
> --
> Markus
>
>