MCPcopy Create free account
hub / github.com/EbTech/rust-algorithms / ac_match

Method ac_match

src/string_proc.rs:176–184  ·  view source on GitHub ↗

Aho-Corasick algorithm, sets @return[i] = node corresponding to longest prefix of some pattern matching a suffix of text[0..=i].

(&self, text: impl IntoIterator<Item = C>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_ac_matchingFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_ac_matchingFunction · 0.64