[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT string concat
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 13 Apr 2011 15:46:37 +0200
On Wed, Apr 13, 2011 at 3:39 PM, Francesco Abbate
<francesco.bbt@gmail.com> wrote:
> I believe that the lua string buffer was created exactly to treat
> efficiently this kind of cases and avoid the string concatenation
Well, I think by now we are all eager: where are the numbers?
Time for another microbenchmark!
BTW, how about this?
table.insert(args,1,'[')
table.insert(args,']')
res = table.concat(args,',')
steve d.