Closed
Description
Since GHC 8.10 there is a shrinkSmallMutableArray#
primop that may be useful for functions like filter
and mapMaybe
. It would allow us to perform deletions in-place instead of creating a new array.
Since GHC 8.10 there is a shrinkSmallMutableArray#
primop that may be useful for functions like filter
and mapMaybe
. It would allow us to perform deletions in-place instead of creating a new array.