Improving practical exact string matching

  • Authors:
  • Branislav Ďurian;Jan Holub;Hannu Peltola;Jorma Tarhio

  • Affiliations:
  • S&T Varias s.r.o., Priemyselnáá 2, SK-010 01 Žilina, Slovakia;Department of Theoretical Computer Science, Faculty of Information Technology, Czech Technical University in Prague, Kolejní 550/2, CZ-160 00, Prague 6, Czech Republic;Department of Computer Science and Engineering, Helsinki University of Technology, PO Box 5400, FI-02015 TKK, Finland;Department of Computer Science and Engineering, Helsinki University of Technology, PO Box 5400, FI-02015 TKK, Finland

  • Venue:
  • Information Processing Letters
  • Year:
  • 2010

Quantified Score

Hi-index 0.89

Visualization

Abstract

We present improved variations of the BNDM algorithm for exact string matching. At each alignment our bit-parallel algorithms process a q-gram before testing the state variable. In addition we apply reading a 2-gram in one instruction. Our point of view is practical efficiency of algorithms. Our experiments show that the new variations are faster than earlier algorithms in many cases.