Practical fast searching in strings

R. Nigel Horspool · Software Practice and Experience · 1980

Abstract The problem of searching through text to find a specified substring is considered in a practical setting. It is discovered that a method developed by Boyer and Moore can outperform even special‐purpose search instructions that may be built into the computer hardware. For very short substrings however, these special purpose instructions are fastest—provided that they are used in an optimal way.

Read the paper · More papers on PaperTik