Proposal: Add the unordered-containers package and the hashable package to the Haskell Platform
Heinrich Apfelmus
apfelmus at quantentunnel.de
Thu Mar 21 09:05:20 GMT 2013
Johan Tibell wrote:
>
> The problem is that if the secure hashing makes HashMap as slow as Map,
> there's no point in having the former in the first place, as it only exists
> to provide speed.
Actually, I have a use case (reactive-banana) where I need HashMap as a
hash table and cannot use Map. The reason is that my keys are
StableNames which can be hashed but do not have an Ord instance. In
other words, if I wanted to use Map, I would have to implement a hash
table on top of it.
Best regards,
Heinrich Apfelmus
--
http://apfelmus.nfshost.com
More information about the Haskell-platform
mailing list