ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
MultiSearch.h

The engineered search of many patterns at once, beyond the book. More...

Files

file  ADS/string/MultiSearch.h
 The engineered search of many patterns at once, beyond the book: MultiSearcher finds all the occurrences in a text \( T \) of \( n \) bytes of \( k \) patterns \( P_0 , \ldots , P_{k-1} \): one pattern by StringSearcher [see StringSearch.h], up to 64 by a filter of shuffles of bytes, more by a filter of shift-or on super characters, and by the automaton of Aho and Corasick [see AhoCorasick.h] where a filter lets too much through; the benchmark of the multiple search compares it with AhoCorasick and with Vectorscan (the portable Hyperscan).

Classes

class  ADS::MultiSearcher
 the search of many patterns at once, by a SIMD filter or by the automaton of Aho and Corasick More...

Detailed description

The engineered search of many patterns at once, beyond the book.

The definitions, the invariants and the costs of the area are in Theory of strings.