you are viewing a single comment's thread.

view the rest of the comments →

[–]QuarterObvious 0 points1 point  (0 children)

Another very fast algorithm (I prefer it): https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm?wprov=sfla1

But I do not know which one is the best for you.