Deprecated

hashmap

Persistent containers Map and Set based on hashing. https://github.com/foxik/hashmap

LTS Haskell 9.14:1.3.2
Stackage Nightly 2017-11-23:1.3.2
Latest on Hackage:1.3.2
BSD3 licensed by Milan Straka
Maintained by Ryan Scott

Module documentation for 1.3.2

hashmap

Hackage Hackage Dependencies [Haskell Programming Language][Haskell.org] [BSD3 License][tl;dr Legal: BSD3] Build

http://hackage.haskell.org/package/hashmap "hashmap package on Hackage" [Haskell.org]: http://www.haskell.org "The Haskell Programming Language" [tl;dr Legal: BSD3]: https://tldrlegal.com/license/bsd-3-clause-license-%28revised%29 "BSD 3-Clause License (Revised)"

:warning: Deprecated in favor of unordered-containers

An implementation of persistent Map and Set containers based on hashing. The implementation is build on top of Data.IntMap.IntMap and Data.IntSet.IntSet, with very similar API. It uses Hashable class from the hashable package for hashing.

This package can be used as a drop-in replacement for Data.Map and Data.Set modules.

The Map key value is an Data.IntMap.IntMap indexed by the hash value, containing either one (key, value) or a Data.Map.Map key value for all keys with the same hash value.

The Set elem is an Data.IntMap.IntMap indexed by the hash value, containing either one elem or Data.Set.Set elem for all elements with the same hash value.

Changes

= Version 1.3.2, 2016-11-30 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Replace internal use of deprecated containers functions

= Version 1.3.1.1, 2016-06-09 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Ensure hashmap.h is distributed with the tarball

= Version 1.3.1, 2016-06-09 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* GHC 8 compatibility

= Version 1.3.0.1, 2012-12-14 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Relax dependencies -- allow older versions of containers.
A new flag is introduced, because there are dependencies
between containers and deepseq versions: it is not possible
to compile with deepseq >= 1.2 and containers < 0.4.2.

= Version 1.3.0.0, 2012-12-11 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Add NFData instances.

= Version 1.2.0.1, 2011-09-21 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Add missing StandaloneDeriving and DeriveDataTypeable
GHC extensions to enable Typeable deriving. Also remove
PatternGuards extension, which was needed only once.


= Version 1.2.0.0, 2011-05-08 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Rename HashMap and HashSet to Map and Set.
That allows to use this package as a drop-in
replacement for Data.Map and Data.Set packages.
HashMap and HashSet types are kept as deprecated
type synonyms.


= Version 1.1.0.1, 2011-04-19 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Convert the repository to Git.


= Version 1.1.0, 2010-08-15 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Separating Hashable class to its own package
and depending on it.


= Version 1.0.0.3, 2010-08-07 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Improving the performance of HashSet and HashMap
by using (Some a) datatype. This speeds up the
case where only one value is stored for a given
hash. The performance gain is ~10% for delete,
~15% for insert, 20-50% for union.


= Version 1.0.0.2, 2010-06-01 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Improving performance of ByteString hash
by using inlinePerformIO.


= Version 1.0.0.1, 2010-05-30 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Doc fixes


= Version 1.0.0, 2010-05-30 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Adding module HashSet


= Version 0.9.0, 2010-05-29 =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Initial versions of HashMap, Hashable
comments powered byDisqus