Fast-search: a new efficient variant of the Boyer-Moore string matching algorithm

  • Authors:
  • Domenico Cantone;Simone Faro

  • Affiliations:
  • Università di Catania, Dipartimento di Matematica e Informatica, Catania, Italy;Università di Catania, Dipartimento di Matematica e Informatica, Catania, Italy

  • Venue:
  • WEA'03 Proceedings of the 2nd international conference on Experimental and efficient algorithms
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a new variant of the Boyer-Moore string matching algorithm which, though not linear, is very fast in practice. We compare our algorithm with the Horspool, Quick Search, Tuned Boyer-Moore, and Reverse Factor algorithms, which are among the fastest string matching algorithms for practical uses. It turns out that our algorithm achieve very good results in terms of both time efficiency and number of character inspections, especially in the cases in which the patterns are very short.