lua-users home
lua-l archive

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


On Tue, Jan 22, 2013 at 3:11 PM, Emeka <emekamicro@gmail.com> wrote:
> Hello All,
>
> Is there alternative to this concatenation algorithm that is relatively
> fast?
> http://www.lua.org/pil/11.6.html
>
> Regards, \Emeka
> --
> Satajanus  Nig. Ltd
>
>

table.concat is the fastest way to do it: assemble the string
components in a list, then use table.concat() on it.

/s/ Adam