Published January 1, 2008 | Version v1
Conference paper Open

A Method to Overcome Computer Word Size Limitation in Bit-Parallel Pattern Matching

Description

The performance of the pattern matching algorithms based on bit-parallelism degrades when the input pattern length exceeds the computer word size. Although several divide-and-conquer methods have been proposed to overcome that limitation, the resulting schemes are not that much efficient and hard to implement. This study introduces a new fast bit-parallel pattern matching algorithm that is capable of searching patterns of any length in a common bit-parallel fashion. The proposed bit-parallel length invariant matcher (BLIM) is compared with the Shift-Or and bit-parallel non-deterministic matching (BNDM) algorithms along with the standard Boyer-Moore and Sunday's quick search, which are known to be the very fast in general. Benchmarks have been conducted on natural language, DNA sequence, and binary alphabet random texts. Besides the length invariant architecture of the algorithm, experimental results indicate that on the average BLIM is 18%, 44%, and 6% faster than BNDM, which is accepted as one of the fastest algorithms of this genre, on natural language, DNA sequence and binary random texts respectively.

Files

bib-aac5fc75-943e-4c3d-ba29-6efc5407bdaf.txt

Files (145 Bytes)

Name Size Download all
md5:a57dd71b44bd52402c25f25a5c4dd20e
145 Bytes Preview Download