Using mutable array after an unsafeFreezeArray, and GC details

Brandon Simmons brandon.m.simmons at
Sat May 10 18:47:51 UTC 2014

On Fri, May 9, 2014 at 7:49 PM, Carter Schonwald
<carter.schonwald at> wrote:
> Any chance you could try to use storable or unboxed vectors?

Yeah, I'd thought about a variant for Storables, but it didn't seem
like it would be a win on paper (probably requiring a CAS on one
unboxed array, a loadLoadBarrier, and a second write to a different
unboxed array), but it would probably be worth playing with in light
of this issue. Thanks for the suggestion!


More information about the Glasgow-haskell-users mailing list