Re: Luajit string concatenation performance

  • From: Petite Abeille <petite.abeille@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 22 May 2013 22:18:52 +0200

On May 22, 2013, at 9:54 PM, Wojciech Barski <luajit@xxxxxxxxxxxxx> wrote:

>> Results in windows are usually much worse for Luajit.
>> 
> 
> I actually got 9 seconds for Lua 5.1 vs 13 seconds for LuaJIT 2.0.1 on
> Windows. Not that it's that important

FWIW, on a tiny MBA, running Mac OS X 10.8.3:

Lua 5.2:           31 seconds
LuaJIT 2.0.1:  58 seconds

So, yeah, LuaJIT appears to be about twice as slow on that particular test, on 
that particular platform.

That said, string manipulation/optimization was never LuaJIT forte in my, 
admittedly limited, experimentations.

Other related posts: