Knuth–Morris–Pratt string searching algorithm
Why do you think that https://github.com/ekmett/lca is a good alternative to KMP
Knuth–Morris–Pratt string searching algorithm
Why do you think that https://github.com/ekmett/lca is a good alternative to KMP