LuaJIT General Purpose Routines