Jan-Willem Maessen wrote:

I think that if I can get unsafeFreeze/unsafeThaw to work reliably, it'll finally outperform Data.Map on your example. I haven't yet played with the hash function, which looks kind of bad; there may be hope for improvement there as well.

Great!

User-level Thaw is a bad idea, and I will resist it, even if the library ends up using Freeze/Thaw internally to work around GC shortcomings.

Why is it a bad idea? (I agree completely about unsafeThaw, which seems dangerous, but surely there could be a way to construct a mutable copy of an immutable HashTable? )

-k
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to