An efficient finite map from bytestrings to values
An efficient finite map from bytestrings to values. The implementation is based on big-endian patricia trees, like "Data.IntMap". We first trie on the elements of "Data.ByteString" and then trie on the big-endian bit representation of those elements. Patricia trees have efficient algorithms for union and other merging operations, but they're also quick for lookups and insertions. If you are only interested in being able to associate strings to values, then you may prefer the 'hashmap' package which is faster for those only needing a map-like structure. This package is intended for those who need the extra capabilities that a trie-like structure can offer (e.g., structure sharing to reduce memory costs for highly redundant keys, taking the submap of all keys with a given prefix, contextual mapping, extracting the minimum and maximum keys, etc.).
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0.2.7.3-1.fc41 | - |
Fedora 41 | 0.2.7.3-1.fc41 | - |
Fedora 40 | 0.2.7.2-3.fc40 | - |
Fedora 39 | 0.2.7.2-1.fc39 | - |
You can contact the maintainers of this package via email at
ghc-bytestring-trie dash maintainers at fedoraproject dot org
.