diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-08-20 22:18:59 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-08-20 22:18:59 +0800 |
| commit | 38779f9b8e3804a6efa0e47d28226017e2584c13 (patch) | |
| tree | a65afdd6351938108300b322de5f94ec7253aff1 /RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | |
| parent | 2ea877295f2fd55eb208af2e296b83df6d443f84 (diff) | |
| download | RoughlyEnoughItems-38779f9b8e3804a6efa0e47d28226017e2584c13.tar.gz RoughlyEnoughItems-38779f9b8e3804a6efa0e47d28226017e2584c13.tar.bz2 RoughlyEnoughItems-38779f9b8e3804a6efa0e47d28226017e2584c13.zip | |
Some changes to partitioning search and optimisations to asFormattedText in ItemEntryStack.
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java')
| -rw-r--r-- | RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java index f4792168c..9c8b9c091 100644 --- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java +++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java @@ -317,8 +317,8 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { @Override @ApiStatus.Experimental - public int getNumberAsyncSearch() { - return advanced.search.numberAsyncSearch; + public int getAsyncSearchPartitionSize() { + return advanced.search.asyncSearchPartitionSize; } @Override @@ -452,7 +452,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { @Comment("Declares whether search time should be debugged.") private boolean debugSearchTimeRequired = false; @Comment("Declares whether REI should search async.") private boolean asyncSearch = true; @Comment("Declares how many entries should be grouped one async search.") @ConfigEntry.BoundedDiscrete(min = 25, max = 400) - private int numberAsyncSearch = 50; + private int asyncSearchPartitionSize = 100; } public static class Commands { |
