This PR adds support for LuaJIT to the module. It has been added as a compile time option(scons luaapi_luajit=yes). LuaJIT is less portable then lua and has not been cleanly integrated into the godot build system like lua 5.4 has been. Instead we have scons call either the make or msvc build scripts provided with luaJIT. Because of this the module will still default to lua 5.4
As far as I can tell its a pretty seamless integration. Only the major differences from the lua 5.1 and 5.4 APIs caused issues. And they were minimal.
I think this is okay to merge now as nothing changes by default. ATM no documentation changes should be needed as the API is identical for both builds.
This PR adds support for LuaJIT to the module. It has been added as a compile time option(
scons luaapi_luajit=yes
). LuaJIT is less portable then lua and has not been cleanly integrated into the godot build system like lua 5.4 has been. Instead we have scons call either the make or msvc build scripts provided with luaJIT. Because of this the module will still default to lua 5.4As far as I can tell its a pretty seamless integration. Only the major differences from the lua 5.1 and 5.4 APIs caused issues. And they were minimal.