AlgorithmsStringsEdit on GitHubEdit history
Galil Rule
1979
A rule for Boyer–Moore search that uses the period of the pattern to avoid re-comparing a part already known to match. It guarantees worst-case linear time even when all occurrences are reported.
Origin
Zvi Galil (1979). On improving the worst case running time of the Boyer-Moore string matching algorithm. Communications of the ACM 22(9).doi:10.1145/359146.359148 — checked against Crossref, 2026-11-08
Lineage
Algorithms 3 · Relations 3
Parent algorithms
Where it came from
Boyer–Moore1977
Author statementPresented, as its title says, as a rule improving the worst-case running time of Boyer–Moore string matching. — doi:10.1145/359146.359148
Derived algorithms
What it led to
Apostolico–Giancarlo Algorithm1986
Author statementGalil's strategy is named in the paper's title, which revisits it to present a new variant. — doi:10.1137/0215007
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…