
25 Nov
2008
25 Nov
'08
7:59 p.m.
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⑈