Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.1% on hackage.haskell.org
Top 5.9% downloads on hackage.haskell.org
Top 7.2% dependent packages on hackage.haskell.org
Top 2.4% dependent repos on hackage.haskell.org

hackage.haskell.org : bytestring-trie

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.)

Registry - Homepage - JSON
purl: pkg:hackage/bytestring-trie
Keywords: bsd3, data, data-structures, library
License: BSD-3-Clause
Latest release: about 2 years ago
First release: over 15 years ago
Dependent packages: 3
Dependent repositories: 187
Downloads: 24,436 total
Last synced: 16 days ago

    Loading...
    Readme
    Loading...