login

Practical fast searching in strings

Software Practice and ExperiencePublished 1 June 1980
R. Nigel Horspool
Citations600
SJR quartileQ2
SJR score0.68
SNIP1.26

TL;DR

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.

Abstract

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.

Keywords

Computer Science