Thanks Gregory!
Probably the solution would be recreating the FFI in a way that doesn't need
the StablePtr. Not sure how to do this though. I'm going to test other
things, like HashTable, before trying this. And let's see how it goes.
~dsouza
On Mon, Dec 20, 2010 at 2:40 PM, Gregory Collins
Hello Haskellers,
I'm playing a bit with Data.Judy. However, I noticed that using StablePtr
incurs in some performance problems, I don't have any numbers but as a
example use Int and ByteString as values and you can notice the difference
without any benchmarking tool with the example that comes
Pointers are mapped to StablePtrs using *drumroll* a hash table,
so you can give up on getting acceptable performance out of this
combination IMO.
G
On Mon, Dec 20, 2010 at 5:06 PM, Diego Souza dso...@bitforest.org wrote:
Hello Haskellers,
I'm playing a bit with Data.Judy. However, I