OpenComputers icon indicating copy to clipboard operation
OpenComputers copied to clipboard

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

Open Niker323 opened this issue 2 years ago • 3 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

Niker323 avatar Aug 07 '23 00:08 Niker323

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.

asiekierka avatar Aug 16 '23 09:08 asiekierka

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

Niker323 avatar Aug 17 '23 10:08 Niker323