chimericdream / minekea

Minecraft mod to add a variety of vanilla-esque decorative and functional blocks.
https://www.curseforge.com/minecraft/mc-mods/minekea-fabric
MIT License
4 stars 2 forks source link

Optimize loading times #78

Closed SplendidAlakey closed 5 hours ago

SplendidAlakey commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently, adding Minekea even to a vanilla instance adds around 1min to the game's loading (30sec vanilla vs 1min30sec with Minekea). While it's not detrimental in this situation, once you start assembling a modpack, it quickly becomes an issue, as having a constant 1min of loading time added on top of everything else makes the loading take quite a bit of time.

Describe the solution you'd like

Initially, the issue was brought up to me by one of the Quilt developers @AlexIIL, as such the suggestion is not mine, but Minekea spends ~25 seconds compiling string patterns, which is the part, that could be optimized. This can be seen in a snapshot I captured with JVVM: snapshot_minekea_alone_fabric.zip

Describe alternatives you've considered

-

Additional context

-