More Speed and More Compression: Accelerating Pattern Matching by Text Compression
Matsumoto, Tetsuya, Kazuhito Hagio, Masayuki Takeda, Kazuhito Hagio, 萩尾, 一仁, ハギオ, カズヒト, Masayuki Takeda, 竹田, 正幸, タケダ, マサユキ · Kyushu University Institutional Repository (QIR) (Kyushu University) · 2007
Abstract. This paper addresses the problem of speeding up string matching by text compression, and presents a compressed pattern matching (CPM) algorithm which finds a pattern within a text given as a collage system 〈D, S 〉 such that variable sequence S is encoded by byte-oriented Huffman coding. The compression ratio is high compared with existing CPM algorithms addressing the problem, and the search time reduction ratio compared to the Knuth-Morris-Pratt algorithm over uncompressed text is nearly the same as the compression ratio. 1