Zhu–Takaoka string matching algorithm

From Wikipedia, the free encyclopedia
Revision as of 09:08, 28 May 2023 by imported>Jochen Burghardt (top: the characters are bad (i.e. non-matching), not the shift)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In computer science, the Zhu–Takaoka string matching algorithm is a variant of the Boyer–Moore string-search algorithm. It uses two consecutive text characters to compute the bad-character shift. It is faster when the alphabet or pattern is small, but the skip table grows quickly, slowing the pre-processing phase.

References


Template:Strings