Struct aho_corasick::Sparse
source · pub struct Sparse(_);
Expand description
State transitions that are always sparse.
This can use enormous amounts of memory when there are many patterns, but matching is very fast.
Trait Implementations§
source§impl Transitions for Sparse
impl Transitions for Sparse
source§fn heap_bytes(&self) -> usize
fn heap_bytes(&self) -> usize
The memory use in bytes (on the heap) of this set of transitions.