Fast string searching
Andrew Hume, Daniel M. Sunday · Software Practice and Experience · 1991
Abstract Since the Boyer‐Moore algorithm was described in 1977, it has been the standard benchmark for the practical string search literature. Yet this yardstick compares badly with current practice. We describe two algorithms that perform 47% fewer comparisons and are about 4.5 times faster across a wide range of architectures and compilers. These new variants are members of a family of algorithms based on the skip loop structure of the preferred, but often neglected, fast form of Boyer‐Moore. We present a taxonomy for this family, and describe a toolkit of components that can be used to design an algorithm most appropriate for a given set of requirements.
Cited by 186 works. doi:10.1002/spe.4380211105
Authors
References
- Fast Pattern Matching in Strings
- The C++ Programming Language
- A fast string searching algorithm
- The GenBank genetic sequence databank
- Distribution of mathematical software via electronic mail
- Practical fast searching in strings
- The GenBank®genetic sequence data bank
- Writing Efficient Programs
- A very fast substring search algorithm
- Comment on weighted increment linear search for scatter tables