Avoiding CAF's
Ian Lynagh
igloo at earth.li
Wed May 16 20:31:46 EDT 2007
On Wed, May 16, 2007 at 02:22:22PM +0100, Neil Mitchell wrote:
>
> The FFI call must create a IO monad box to put the thing in, then the
> main loop strips the IO box away. If I could avoid the overhead of
> creating the box in the meantime, that would be preferable.
Does the boxing not get optimised out?
Is the FFI imported function exported from the module?
Thanks
Ian
More information about the Glasgow-haskell-users
mailing list