in reply to Re: Words in Words
in thread Words in Words

index is normally slower then a simple regex, because regex are optimized by pre-calculating jump tables ... ( I forgot the name of the algorithm ...).

Cheers Rolf

UPDATE: see Boyer–Moore_string_search_algorithm

UPDATE2: choroba found it, too! :)

Replies are listed 'Best First'.
Re^3: Words in Words
by choroba (Cardinal) on Oct 01, 2011 at 09:31 UTC
    Something like Boyer-Moore?