Accelerating Boyer Moore searches on binary texts

  • Authors:
  • Shmuel T. Klein;Miri Kopel Ben-Nissan

  • Affiliations:
  • Department of Computer Science, Bar Ilan University, Ramat-Gan, Israel;Department of Computer Science, Bar Ilan University, Ramat-Gan, Israel

  • Venue:
  • CIAA'07 Proceedings of the 12th international conference on Implementation and application of automata
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Boyer and Moore (BM) pattern matching algorithm is considered as one of the best, but its performance is reduced on binary data. Yet, searching in binary texts has important applications, such as compressed matching. The paper shows how, by means of some precomputed tables, one may implement the BM algorithm also for the binary case without referring to bits, and processing only entire blocks such as bytes or words, thereby significantly reducing the number of comparisons. Empirical comparisons show that the new variant performs better than regular binary BM and even than BDM.