Replace this the DLL Lua5.1.dll by this one to improve lua VM performance dramaticly. You can also remove lua51.dll since its useless (u can delete it even with original lua5.1.dll)
LuaJIT works way faster that normal Lua VM since is written in inline asm and instruction are faster due to redesigned architecture, but totally compatible with lua 5.1.4 and even have functions from lua 5.2 vm.
It also have some interesting stuff like dynasm and luaffi that allows you to call assambly code or use complex external libraries (like amswmemory, alien...)
Ps. u can also replace this dll on autoplay/data folder in order to redistribute it with any future app build.
Ps2. This shit is highly experimental and untested, seems to work properly but may cause strange bugs, crashes and nuclear blasts
ACTUALIZACION LuaJIT 2.0.4