-
Notifications
You must be signed in to change notification settings - Fork 21
FAQ
Yes, and it will have similar impacts for both - reduced CPU consumption on startup and faster startup times.
Most likely, yes. LazyDFU is a very minimally invasive mod.
Because LazyDFU is such a very minimally invasive mod. Due to the use of intermediary mappings and the structure of how DFU is setup in Minecraft, this mod rarely, if ever requires updates. Any updates will involve:
- code changes if DFU setup is changed in a future version of Minecraft
- toolchain updates if required
DataFixerUpper initialization is not just CPU-intensive, but also memory-intensive as well. Since LazyDFU skips precaching data fixer rules at startup, the actual memory usage of the game can appear to come down. This is both good and bad. It's bad since allocating less memory can lead to lag spikes from garbage collection, but it's good since the game really is using less memory.
If you are getting lag spikes from LazyDFU and have already optimized your worlds (or they were created on the latest Minecraft version) you are likely not allocating enough memory initially to the game. To fix this, you'll need to increase your minimum memory allocation, preferably to the same value as your maximum memory allocation. Here is an example for MultiMC (the -XX:+AlwaysPreTouch
flag is recommended):
Here's an example for the official launcher. Here, I have added -Xms2G
before -Xmx2G
and -XX:+AlwaysPreTouch
afterwards: