作者: Shmuel T. Klein , Miri Kopel Ben-Nissan
DOI: 10.1007/978-3-540-76336-9_14
关键词: Byte 、 Pattern matching 、 Algorithm 、 String searching algorithm 、 Binary data 、 Binary number 、 Computer science 、 Boyer–Moore string search algorithm 、 Matching (graph theory) 、 New variant
摘要: The Boyer and Moore (BM) pattern matching algorithm is considered as one of the best, but its performance reduced on binary data. Yet, searching in texts has important applications, such compressed matching. paper shows how, by means some precomputed tables, may implement BM also for case without referring to bits, processing only entire blocks bytes or words, thereby significantly reducing number comparisons. Empirical comparisons show that new variant performs better than regular even BDM.