Re: stgAllocForGMP and friends

2009-06-05 Thread Duncan Coutts
On Fri, 2009-06-05 at 04:07 -0400, Daniel Peebles wrote: > Hi all, > > I'm almost done with a FFI-based GMP binding (an attempt to remove > GHC's dependence on GMP primops). Currently I'm just using the default > GMP allocation functions (malloc/realloc/free), but it's tempting to > do as the curr

stgAllocForGMP and friends

2009-06-05 Thread Daniel Peebles
Hi all, I'm almost done with a FFI-based GMP binding (an attempt to remove GHC's dependence on GMP primops). Currently I'm just using the default GMP allocation functions (malloc/realloc/free), but it's tempting to do as the current setup does and tell GMP to use the GHC allocator. I have some que