Boyer-Moore string match algorithm