[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: stackoverflow with LuaJIT 2.0.0-beta6 (but not with lua 5.1.4)
- From: Valerio Schiavoni <valerio.schiavoni@...>
- Date: Wed, 20 Apr 2011 23:39:45 +0200
Hello Geoff,
On Wed, Apr 20, 2011 at 11:32 PM, Geoff Leyland
<geoff_leyland@fastmail.fm> wrote:
> It looks like most of the time is spent concatenating strings on the lines
> out = out..encode(v)
> and
> return out..'e'
>
> Have you tried making 'out' a table, appending strings to it and then doing a table.concat as you return it?
i tried that as the first thing, and the optimization gain was unnoticeable.
best regards,
Valerio