feat(string): init Rabin-Karp rolling hash
Implemented Rabin-Karp rolling hash class abstraction. After testing muliple algorithms for efficient substring searching in a stream abstracted by a ring buffer, I've dropped the idea of using KMP in favor of implementing my own algorithm based of the Rabin-Karp rolling hash algorithm.
This commit is contained in:
parent
ab5a86e07d
commit
e67a95f15a
3 changed files with 152 additions and 0 deletions
0
tests/unit/byteb4rb1e_utils/string/__init__.py
Normal file
0
tests/unit/byteb4rb1e_utils/string/__init__.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue