I'm using Lua in my C++ program, as an library. But I read that LuaJIT is a better implementation.
Is it posible to replace with LuaJIT with little change? How?
I'm using Lua in my C++ program, as an library. But I read that LuaJIT is a better implementation. Is it posible to replace with LuaJIT with little change? How? |
|||||||||||||
|
Just replace the source files if you're compiling from source, or the DLL if you're using the precompiled one (preferred). Per the Installation Guide:
LuaJIT is meant to be a drop-in replacement for stock lua, so it should work just by replacing it |
|||
|
As Panda Pajama comment suggest. It's easy a drop-in replacement.
The worst part was the downgrade to 5.1, specially the load of own function modules in lua State. |
|||
|