Fast pattern matching method for a bitstream
DOI:
https://doi.org/10.17721/1812-5409.2020/4.5Анотація
A family of algorithms for fast pattern matching in a bitstream is described. A bitstream is assumed to be stored in a memory and divided into bytes and machine words. The proposed algorithms are based on RZ-family of algorithms for fast pattern matching in a 256-ary text and inherit such their properties as ‘1.5-byte read’, double skip loop, right-to-left text processing as well as a special technique of multiple sliding windows. Beyond that, the new algorithms provide longer average shifts than the best known Binary Faro-Lecroq algorithm and more efficient technique of match checking. Applied to a text close to random, our algorithms outperform all known analogues for all pattern lengths from 20 up to 500.
Key words: pattern matching, Faro-Lecroq, fast search, bitstream, search window.
Pages of the article in the issue: 36 - 39
Language of the article: Ukrainian
Посилання
KLEIN S., BEN-NISSAN M.K. (2007) Accelerating Boyer Moore search on binary texts. Proceedings of International Conference on Implementation and Application of Automata, CIAA-07, p. 130–143.
FARO S., LECROQ T. (2009) An efficient matching algorithm for encoded DNA sequences and binary strings. Proceedings of International Conference on Implementation and Application of Automata, p. 106–115.
ZAVADSKYI I.O. (2019) Pattern matching in text with respect to cache memory size. Bulletin of Taras Shevchenko National University of Kyiv. Series Physics & Mathematics, no. 3, p. 69–72.
Завантаження
Номер
Розділ
Ліцензія
Автори, роботи яких публікуються у цьому журналі, погоджуються з такими умовами:
- Автори зберігають авторські права та надають журналу право на першу публікацію роботи, яка одночасно ліцензується згідно із Creative Commons Attribution License, тобто надається дозвіл іншим ділитися роботою з визнанням авторства роботи та першої публікації в цьому журналі.
- Автори можуть укладати окремі додаткові угоди щодо невиключного розповсюдження опублікованої журналом версії роботи (наприклад, розмістити її у репозитарії наукової установи чи опублікувати у книзі) з підтвердженням її початкової публікації у цьому журналі.
- Дозволяється та заохочується розміщення своїх робіт в мережі Інтернет авторами (наприклад, у репозитаріях наукових установ або на особистих веб-сторінках) до та під час процесу подання, оскільки це може призвести до продуктивного обміну, а також до більш ранніх цитувань опублікованої роботи та їх більшої кількості (див. The Effect of Open Access).
