Struct aho_corasick::Sparse [] [src]

pub struct Sparse(_);

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

impl Clone for Sparse
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Sparse
[src]

[src]

Formats the value using the given formatter.

impl Transitions for Sparse
[src]

[src]

Return a new state at the given depth.

[src]

Return the next state index given the next character.

[src]

Set the next state index for the character given.

[src]

The memory use in bytes (on the heap) of this set of transitions.