OpenComputers

OpenComputers

49M Downloads

Lua native DLL extraction can take a long time on some configurations

Niker323 opened this issue ยท 3 comments

commented

In my modpack OC takes the longest to load and I found that ~60% time it copies and checks lua dll. I don't think it's necessary to do this every time, please could you speed it up.

Minecraft 1.12.2, OC 1.8.3

commented

We have no way of verifying if the DLL on the hard drive is the same as the DLL in the JAR, nor do we have a consistent way of loading the DLL from inside the JAR.

~60% is certainly a lot, though.

commented

I think the easiest way is to add "Don't copy Lua DLL if already exists" to config with default value false.

commented

OpenComputers 1.8.7 might improve this, thanks to the GT:NH people looking into this.