Struct tongrams::EliasFanoTrieArray
source ·
[−]pub struct EliasFanoTrieArray { /* private fields */ }
Expand description
Spece-efficient implementation of TrieArray
with Elias-Fano encording.
Trait Implementations
Returns the “default value” for a type. Read more
Searches for an element within a given range, returning its index. TODO: Make faster
Builds a TrieArray
from sequences of token ids and pointers.
Serializes the data structure into the writer.
Deserializes the data structure from the reader.
Gets the number of bytes to serialize the data structure.
Gets breakdowns of memory usages for components.
Gets the number of tokens stored.
Gets the number of pointers stored.