MightyPirates / OpenComputers

Home of the OpenComputers mod for Minecraft.

Home Page:https://oc.cil.li

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Niker323 opened this issue · comments

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

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.

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