String-searching algorithm: Difference between revisions

Content deleted Content added
Undid revision 699884210 by 24.114.71.127 (talk)
Single pattern algorithms: template:ref and template:note looks to me more appropriate for this foot note.
Line 15:
! Algorithm
! Preprocessing time
! Matching time<sup>1</sup>{{ref|Asymptotic times}}
|-
! Naïve string search algorithm
Line 41:
| O(mn)
|}
<sup>:1</sup>.{{note|Asymptotic times}}Asymptotic times are expressed using [[Big O notation|O, Ω, and Θ notation]].
 
The '''[[Boyer–Moore string search algorithm]]''' has been the standard benchmark for the practical string search literature.<ref name=":0">{{cite journal |last=Hume |last2=Sunday |year=1991 |title=Fast String Searching |journal=Software: Practice and Experience |volume=21 |issue=11 |pages=1221–1248 |doi=10.1002/spe.4380211105 }}</ref>