[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: Thu, 21 Apr 2011 14:00:44 +0200
On Thu, Apr 21, 2011 at 1:57 AM, Geoff Leyland
<geoff_leyland@fastmail.fm> wrote:
> You still have a table.concat at every level of the stack. Try the following. I've only made it work for the case you test, so you'll need to finish it.
Indeed !
I've completed the code, and profiled again against the same input
sizes. Now the timings are more than acceptable :-)
size time spent (seconds) speedup-factor
1K 5.1975250244141e-05 +140 %
10K 0.00016903877258301 + 7600 %
100K 0.0019190311431885 + 1230 %
1000K 0.025777101516724 + 35830 %
Thanks for the suggestions,
Valerio