Rules for use of unsafeThaw...
bulatz at HotPOP.com
Thu Nov 3 12:16:40 EST 2005
Thursday, November 03, 2005, 8:08:09 PM, you wrote:
JWM> I've recently been experimenting with unsafeFreeze/unsafeThaw in
JWM> GHC. Judicious use of these functions vastly reduces GC overhead in
JWM> Data.HashTable. However, a slightly mis-timed GC will cause the
JWM> whole mess to crash.
i had (for another reason) proposal for adding disableGC/enableGC
primitives to GHC. Simon Marlow says that it is in principle possible,
although is not easy
Bulat mailto:bulatz at HotPOP.com
More information about the Glasgow-haskell-users