list-tries: Tries and Patricia tries: finite sets and maps for list keys
This library provides implementations of finite sets and maps for list keys using tries, both simple and of the Patricia kind. In most (or all? sorry, haven't benchmarked yet) cases, the Patricia tries will have better performance, so use them unless you have reasons not to. . The data types are parametrized over the map type they use internally to store the child nodes: this allows extending them to support different kinds of key types or increasing efficiency. Child maps are required to be instances of the Map class in Data.ListTrie.Base.Map. Some operations additionally require an OrdMap instance. . The Eq, Ord, and Enum modules contain ready structures for key types which are instances of those classes, using lists of pairs, Data.Map, and Data.IntMap respectively.
[Skip to Readme]
Downloads
- list-tries-0.6.7.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.0, 0.1, 0.2, 0.3, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.5, 0.5.1, 0.5.2, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.7.1 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.14 && <5), binary (>=0.5 && <0.11), containers (>=0.4 && <0.8), dlist (>=0.4 && <1.1) [details] |
Tested with | ghc ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1 |
License | BSD-3-Clause |
Author | Matti Niemenmaa |
Maintainer | Andrzej Rybczak <andrzej@rybczak.net> |
Category | Data, Data Structures |
Home page | http://iki.fi/matti.niemenmaa/list-tries/ |
Source repo | head: git clone https://github.com/arybczak/list-tries |
Uploaded | by arybczak at 2024-09-03T15:25:58Z |
Distributions | |
Reverse Dependencies | 10 direct, 3 indirect [details] |
Downloads | 15620 total (48 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2024-09-03 [all 1 reports] |