Rabin-Karp algorithm uses a weak hash function to locate possible substring positions.
This modification uses merely equality of first and last char of searched substring, however equality of chars can be done very fast
in parallel, even without SIMD instruction.
Read more ...
Brak komentarzy:
Prześlij komentarz