Open kawu opened 10 years ago
There's a packed-dawg package with benchmarks at https://github.com/AndrasKovacs/dawg/blob/master/Benchmarks.hs – a comparison here would be interesting (packed-dawg only works on 0-255 Char values though).
There's also https://hackage.haskell.org/package/bytestring-trie which is extremely compact and fast, but of course requires keys to be bytestrings.
Or copy from the
dawg-new
library.