Closed meooow25 closed 6 months ago
Could you add a change log entry please? What were you doing that led you to notice this?
Could you add a change log entry please?
Done 👍
What were you doing that led you to notice this?
I have a structure that stores (Int, Int)
ranges as IntMap Int
, with some operations defined in terms of splitLookup
. I checked the core for those operations and noticed that the Int
s were boxed, which led me to this.
Awesome. Thanks!
All IntMap and IntSet functions taking a key are strict in the key. This allows the Int to be unboxed.
This is technically a breaking change. Currently
split undefined empty = (empty, empty)
, but with this changesplit undefined empty = undefined
.