[Haskell-cafe] Data.Array.Storable vs GC
John Meacham
john at repetae.net
Tue Nov 25 19:59:44 EST 2008
GHC has 'pinned arrays' that have this behavior. however, you probably
don't want to use them as they simply give the garbage collector less
choices about what to do possibly decreasing its efficiency. The garbage
collector already is free to not copy arrays if it feels it isn't worth
it, by pinning them you simply take away its ability to choose to do so
if it is needed.
John
--
John Meacham - ⑆repetae.net⑆john⑈
More information about the Haskell-Cafe
mailing list