diff --git a/config/AcediaSystem.ini b/config/AcediaSystem.ini index bcaf64f..a683545 100644 --- a/config/AcediaSystem.ini +++ b/config/AcediaSystem.ini @@ -39,6 +39,26 @@ maxTotalLineWidth=108 ; Hardcoded to force this value between 0 and 10, inclusively. MAX_FLOAT_PRECISION=4 +[AcediaCore_0_2.JObject] +; Never use any hash table capacity below this limit, +; regardless of other variables +; (like `MINIMUM_CAPACITY` or `MINIMUM_DENSITY`). +ABSOLUTE_LOWER_CAPACITY_LIMIT=10 +; Reasonable lower and upper limits on hash table capacity, +; that will be enforced if user requires something outside those bounds +MINIMUM_CAPACITY=50 +MAXIMUM_CAPACITY=100000 +; Minimum and maximum allowed density of elements +; (`storedElementCount / hashTable.length`). +; If density falls outside this range, - we have to resize hash table to +; get into (MINIMUM_DENSITY; MAXIMUM_DENSITY) bounds, +; as long as it does not violate other resctrictions. +MINIMUM_DENSITY=0.25 +MAXIMUM_DENSITY=0.75 +; Only ever reallocate hash table if new size will differ by +; at least that much, regardless of other restrictions. +MINIMUM_DIFFERENCE_FOR_REALLOCATION=50 + [AcediaCore_0_2.ColorAPI] ; Changing these values will alter color's definitions in `ColorAPI`,