摘要: Forward-SBNDM is a recently introduced variation of the BNDM algorithm for exact string matching. inspects 2-gram in text such that first character last one an alignment window pattern and second then outside window. We present generalization this idea by inspecting several lookahead characters beyond integrate it with SBNDMq, q-gram BNDM. As result, we get new variations SBNDMq. In addition, introduce greedy skip loop SBNDM2. tune up our algorithms reference 2-byte read. According to experiments, best are faster than winners recent comparisons English, DNA, binary data.