gatekeeper icon indicating copy to clipboard operation
gatekeeper copied to clipboard

Call ffi.typeof() directly

Open AltraMayor opened this issue 6 years ago • 0 comments

luaL_get_ctypeid(), which GT blocks call multiple times while interacting with the Lua policy (see #210 for a reference), gets a reference to ffi.typeof() running the Lua code return require('ffi').typeof. Most of this overhead goes away if someone finds out how to call the C function of LuaJIT under ffi.typeof().

AltraMayor avatar Mar 14 '19 16:03 AltraMayor