Metraipolis › archive › dc_e069102e3697
Boyer–Moore string-search algorithm — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-07T13:49:05.935Z
- SHA-256 of the archived text
f394564566dc0be05051fb521dde3c200a063878a5a5a6231132c00c997d4b2c- Stable URL of this page
https://metraipolis.com/documento/dc_e069102e3697
How to cite
Boyer–Moore string-search algorithm — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_e069102e3697 (Metraipolis archive dc_e069102e3697, sha256 f394564566dc0be05051fb521dde3c200a063878a5a5a6231132c00c997d4b2c)
BibTeX
@misc{dce069102e3697,
title = {Boyer–Moore string-search algorithm — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_e069102e3697; sha256 f394564566dc0be05051fb521dde3c200a063878a5a5a6231132c00c997d4b2c},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In computer science, the Boyer–Moore string-search algorithm is an efficient string-searching algorithm that is the standard benchmark for practical string-search literature. It was developed by Robert S. Boyer and J Strother Moore in 1977. The original paper contained static tables for computing the pattern shifts without an explanation of how to produce them. The algorithm for producing the tables was published in a follow-on paper; this paper contained errors which were later corrected by Wojciech Rytter in 1980. The algorithm preprocesses the string being searched for (the pattern), but not the string being searched in (the text). It is thus well-suited for applications in which the pattern is much shorter than the text or where it persists across multiple searches. The Boyer–Moore algorithm uses information gathered during the preprocess step to skip sections of the text, resulting in a lower constant factor than many other string search algorithms. In general, the algorithm runs faster as the pattern length increases. The key features of the algorithm are to match on the tail of the pattern rather than the head, and to skip along the text in jumps of multiple characters rather than searching every single character in the text. Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «algorithm»). Fonte: Wikipedia in inglese, voce «Boyer–Moore string-search algorithm» — https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm Wikidata Q895984 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q895984 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1377388531, consultata il 2026-10-07T13:20:46.344Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: b3cf94a02394a072ba2731e2117c957477ec664225b0d948faea24640986798a