Improved cache config option description. Disabled cache by default.
This commit is contained in:
@ -90,9 +90,11 @@ public final class Config {
|
||||
|
||||
builder.comment("Settings for optimizations").push("optimization");
|
||||
optimizationUseCache = builder
|
||||
.comment("When enabled, the list of operations to perform per unique_id will be cached after the first calculation.")
|
||||
.comment("Although this does increase performance at the cost of RAM, the overall performance hit of this mod is tiny anyway... but oh well")
|
||||
.define("optimizationUseCache", true);
|
||||
.comment("Allows saving lists of operations per unique id (block_id/entity_id etc.).")
|
||||
.comment("This will speed up getting the order of operations after the initial calculation.")
|
||||
.comment("The downside is that it uses more RAM of course (I don't know how much), while it shouldn't be a lot it might not be worth it if you don't have many operations.")
|
||||
.comment("The cache is not persistent and gets cleared whenever the config gets reloaded.")
|
||||
.define("optimizationUseCache", false);
|
||||
builder.pop();
|
||||
|
||||
builder.comment("Settings for block breaking").push("block_breaking");
|
||||
|
Reference in New Issue
Block a user