Overview of the FST (Finite State Transducer) library
mainThe FST library is a C++ reimplementation of the BurntSushi/fst library. It is designed for efficiently storing and searching very large ordered sets or maps (up to billions of entries) where keys are byte strings.
Key characteristics:
- Binary Compatibility: The FST file format is designed to be binary compatible with the original
BurntSushi/fstlibrary. - Memory Efficiency: Optimized for extremely large datasets to ensure all operations remain memory efficient.
- Compression: Uses a finite state machine to compress common prefixes and suffixes in keys.
- Query Capabilities: Supports efficient querying via automata (e.g., regular expressions, Levenshtein distance for fuzzy queries) and lexicographic ranges.