Michael Weber wrote:
> Add:
> {-# NOINLINE objectid #-} 
> ----
to Obj.hs and it does the trick :-) (IIRC, this is documented)
If GHC is cloning the MVar deliberately, why doesn't it do it if you
put the whole thing in one file?

Anyway relying on the compiler not inlining something seems a bit of a hack.
I think I'll just write this bit of the code in C instead . . .

Reply via email to