@hackage TrieMap3.0.1

Automatic type inference of generalized tries with Template Haskell.

Provides a efficient and compact implementation of generalized tries, and Template Haskell tools to generate the necessary translation code. This is meant as a drop-in replacement for Data.Map. The most recent release combines zipper-based ideas from recently proposed changes to Data.Map, as well as heavily optimized ByteString and Vector instances based on the vector package. Since version 2, unit tests and benchmarks have been taken much more seriously, and major optimizations have been made. Compared to Data.Map and Data.Set, on e.g. ByteStrings, TrieMaps support 6-12x faster union, intersection, and difference operations, 2x faster lookup, but 2x slower toList, and 4x slower filter. Other operations are closely tied. TrieMaps tend to use somewhat more memory, and frequently perform better with increased heap space and allocation area.