
#14124: add shrink prim-op for other array type -------------------------------------+------------------------------------- Reporter: winter | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): I don't think it's quite as simple to provide a shrink operation for `MutableArray` and `MutableArrayArray` as it is for `MutableByteArray`. The reason is that in those cases we would need to remove the truncated references from the GC's remembered set. Of course, this ought to be doable, but it is a bit more complexity. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14124#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler