Erik
05/19/2021, 10:18 PMtrue
false
on v1.4.30, but on v1.5.0 it prints
true
true
Why? What part of the v1.5.0 release changed this behaviour?ephemient
05/19/2021, 10:35 PMThis method will always cache values in the range -128 to 127, inclusive, and may cache other values outside of this range.
ephemient
05/19/2021, 10:48 PM(0..Integer.MAX_VALUE).first { System.identityHashCode(it) != System.identityHashCode(it) }
returns 128 on Playground. maybe optimizer got smarter