SquidDev-CC / CCTweaks

Random additions to ComputerCraft (somewhat deprecated, use CC-Tweaked if you're on Minecraft 1.12).
MIT License
12 stars 2 forks source link

LuaJC Compiler #5

Closed SquidDev closed 9 years ago

SquidDev commented 9 years ago

From this issue: http://www.computercraft.info/forums2/index.php?/topic/21489-performance-increaseswitching-compiler/

This should just require injection into LuaJLuaMachine, after global declarations:

globals = ...
LuaJCWorking.install();

We will also need to ensure that the custom JavaBuilder is used instead.

The code currently exists in the Studio project. I don't really want to have an entire submodule for Studio. I think this is really the best way, and then symlink: ln -s ./Studio/src/main/java/org/luaj ./main/java/org/luaj.