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


_______________________________________________
Haskell-platform mailing list
Haskell-platform@projects.haskell.org
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform

Reply via email to