I am using Contiguous to implement a new immutable HAMT-style hashmap.
As part of this, I want to provide an unsafeInsert (which is a building block to make other construction functions, like fromList fast).
This, in turn, is built upon unsafeThaw, to mutate the existing immutable arrays in place.
unsafeThaw is supported by the various arrays Contiguous is wrapping, but not yet part of the class.
Would a PR adding it be accepted?
I am using
Contiguousto implement a new immutable HAMT-style hashmap.As part of this, I want to provide an
unsafeInsert(which is a building block to make other construction functions, likefromListfast).This, in turn, is built upon
unsafeThaw, to mutate the existing immutable arrays in place.unsafeThawis supported by the various arraysContiguousis wrapping, but not yet part of the class.Would a PR adding it be accepted?