mkrussel
05/09/2022, 7:52 PMDoubleRange
. Since ClosedDoubleRange
is private the type being used is ClosedFloatingPointRange<Double>
. Since that is a generic class the call to contains
requires the value to get boxed on the JVM. This boxing doesn't happen when using IntRange
.
Has there been any thoughts about making ClosedDoubleRange
public?