Skip to content

Call ffi.typeof() directly #212

@AltraMayor

Description

@AltraMayor

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().

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions