#4928: Add primops for copying/cloning an array ---------------------------------+------------------------------------------ Reporter: tibbe | Owner: Type: feature request | Status: new Priority: normal | Component: Runtime System Version: 7.0.1 | Keywords: Testcase: | Blockedby: Os: Unknown/Multiple | Blocking: Architecture: Unknown/Multiple | Failure: None/Unknown ---------------------------------+------------------------------------------
Comment(by pumpkin): The patch is incomplete. I've written out what I think should be in the copyArray# and copyMutableArray# primops but the clones and freeze/thaw are still empty stubs (so don't call them!). I'm mostly looking for comments about the card marking adjustments, which are new and untested since my original patch. It would be slightly smarter to set the boundary cards to the conjunction of the source and destination cards at that point, but setting them both to 1 unconditionally was simpler. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4928#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs