lua-users home
lua-l archive

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


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
> 
>