Using mutable array after an unsafeFreezeArray, and GC details

Brandon Simmons brandon.m.simmons at
Fri May 9 18:21:22 UTC 2014

A couple of updates: Edward Yang responded here, confirming the sort
of track I was thinking on:

And I can report that:
  1) cloning a frozen array doesn't provide the benefits of creating a
new array and freezing
  2) and anyway, I'm seeing some segfaults when cloning, freezing,
reading then writing in my library

I'd love to learn if there are any other approaches I might take, e.g.
maybe with my own CMM primop variants?


More information about the Glasgow-haskell-users mailing list