Provides cached instances of Boolean/Char/Byte/Int/Long wrapped in Scala's Option type to avoid boxing and
allocations for commonly used values. Similar to how the JDK Integer cache works
Caching behavior per type:
Boolean - true/false cached
Byte - All bytes cached (0 to 255)
Char - All ASCII chars cached
Int - Defaults to -XX:AutoBoxCacheMax range, can override with fm.common.IntegerCache.low/fm.common.IntegerCache.high properties
Long - Defaults to -XX:AutoBoxCacheMax range, can override with fm.common.IntegerCache.low/fm.common.IntegerCache.high properties
Provides cached instances of Boolean/Char/Byte/Int/Long wrapped in Scala's Option type to avoid boxing and allocations for commonly used values. Similar to how the JDK Integer cache works
Caching behavior per type:
Boolean - true/false cached Byte - All bytes cached (0 to 255) Char - All ASCII chars cached Int - Defaults to -XX:AutoBoxCacheMax range, can override with fm.common.IntegerCache.low/fm.common.IntegerCache.high properties Long - Defaults to -XX:AutoBoxCacheMax range, can override with fm.common.IntegerCache.low/fm.common.IntegerCache.high properties