Function ADS::horspool

Function Documentation

inline std::vector<std::size_t> ADS::horspool(std::string_view T, std::string_view P, long *comparisons = nullptr)

the places of all the occurrences of P in T, by Horspool

Post:

the occurrences of naiveMatching( T , P ) (an audit)