Re: Allocation sinking in git HEAD

  • From: Mike Pall <mike-1207@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Tue, 3 Jul 2012 23:26:38 +0200

I wrote:
> Typical point class with Lua tables:
> [...]
> 140.0  Lua
>  26.9  LuaJIT -O-sink
>   0.35 LuaJIT -O+sink *** 400x faster than Lua ***

Oops ... found the problem why this wasn't generating the best
possible code -- fixed in git HEAD. Much better now:

  140.0  Lua
   26.9  LuaJIT -O-sink
    0.20 LuaJIT -O+sink *** 700x faster than Lua ***
    ====

> Typical point class with cdata struct:
> [...]
>  10.9  LuaJIT -O-sink
>   0.20 LuaJIT -O+sink *** 700x faster than Lua ***
    ====

And on-par with cdata structs, too.

--Mike

Other related posts: