Twoway

Fast substring search by two way algorithm

​twoway implements Two way algorithm for substring search which is highly optimised using SMID acceleration (depending on availability).
Example usage,
1
let loc = twoway::find_str("hello there how are you?", "there");
2
assert_eq!(Some(6), loc);
Copied!
Last modified 1yr ago
Copy link