Paper record

W2168396231

A Lower Bound for Parallel String Matching

Dany Breslauer, Zvi Galil

Year
1992
Venue
SIAM Journal on Computing
References
17
Cited by
33

Details and counts from OpenAlex.

Abstract

This paper presents an Ω(log⁡log⁡m)\Omega (\log \log m) lower bound on the number of rounds necessary for finding occurrences of a pattern string P[1..m]P[1..m] in a text string T[1..2m]T[1..2m] in parallel using m comparisons in each round. The bound is within a constant factor of the fastest algorithm for this problem [D. Breslauer and Z. Galil, SIAM J. Comput.,19 (1990), pp. 1051–1058] and also holds for an m-processor CRCW-PRAM in the case of a general alphabet. Consequently, the paper derives the parallel complexity of the string matching problem using p processors for general alphabets, which is • Θ(mp)\Theta ( \frac{m}{p} ) if p≤mlog⁡log⁡mp \leq \frac{m}{{\log \log m}}, • Θ(log⁡log⁡m)\Theta (\log \log m) if mlog⁡log⁡m≤p≤m\frac{m}{{\log \log m}} \leq p \leq m, • Θ(log⁡log⁡2p/mp)\Theta (\log \log _{2p/m} p) if $m \leq p \leq m^2 $, • Θ(1)\Theta (1) if $p \geq m^2 $, or in short Θ⌈mp⌉+log⁡log⁡⌈1+p/m⌉2p)\Theta \lceil \frac{m}{p} \rceil + \log \log _{\lceil 1 + p/m \rceil } 2p).