ForeignPtr performance

Bulat Ziganshin bulat.ziganshin at gmail.com
Sun Dec 16 17:24:54 EST 2007


Hello Scott,

Sunday, December 16, 2007, 11:57:33 PM, you wrote:

> My question is: what exactly does GHC.Prim.touch# do? This appears to

it's a no-op (for ghc 6.6+ at least). its only task is to notify ghc
optimizer that data were accessed so it doesn't free the memory


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Glasgow-haskell-users mailing list