pathtrie

Documentation

A specialised trie for paths in the style of a Patricia or radix trie, with optional optimised FST output.

The intended usage of this data structure is for optimally storing and querying keys that have a large number of shared prefixes, such as file paths in a file system.

This crate is partly inspired by the fst crate by Andrew Gallant. There are a few significant differences to that crate, however:

It is a goal of this project to stabilise the FST format once proven to be bug-free.

Usage

Add this to your Cargo.toml:

toml [dependencies] pathtrie = "0.1"

Where is this used?

License

Licensed under either of

at your option.