@hackage tries0.0.6.1
Various trie implementations in Haskell
Installation
Dependencies (13)
- QuickCheck >=2.9.2
- base >=4.11 && <5.0
- bytestring
- composition
- containers
- deepseq Show all…
Dependents (2)
@hackage/nested-routes, @hackage/pred-trie
tries
This is a collection and comparison of some basic, pure trie implementations.
So far, there is:
- a Map trie, using
Data.Mapfrom containers - a List trie, using
Data.Treefrom containers - a HashMap trie, using
Data.HashMapfrom unordered-containers - a Knuth trie, using
Data.Tree.Knuthfrom rose-trees
Running the Tests
stack test
and
Running the Benchmarks
for insert / delete:
stack bench --benchmark-arguments="--output profile.html"
for lookups:
stack bench --benchmark-arguments="--output profile-lookup.html" tries:bench:tries-bench-lookup