pub trait Statistics {
    fn heap_bytes(&self) -> usize;
    fn num_elems(&self) -> usize;
    fn num_vacants(&self) -> usize;

    fn vacant_ratio(&self) -> f64 { ... }
}
Expand description

Basic statistics of trie.

Required methods

Returns the total amount of heap used by this automaton in bytes.

Returns the number of reserved elements.

Returns the number of vacant elements.

Provided methods

Returns the ratio of vacant elements.

Implementors