@hackage tries0.0.5
Various trie implementations in Haskell
Installation
Dependencies (14)
- QuickCheck >=2.9.2
- base >=4.8 && <5.0
- bytestring
- bytestring-trie
- composition
- containers 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" --flag tries:Lookup