Crate fcsd

Source
Expand description

§Fast and compact indexed string set using front coding

This crate provides an indexed set of strings in a compressed format based on front coding. n strings in the set are indexed with integers from [0..n-1] and assigned in the lexicographical order.

§Supported queries

  • Locate gets the index of a string key.
  • Decode gets the string with an index.
  • Predict enumerates the strings starting from a prefix.

§References

Modules§

Structs§

  • Fast and compact indexed string set using front coding.

Constants§

  • Default parameter for the number of keys in each bucket.
  • Special terminator, which must not be contained in stored keys.