You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to make the trade-off between collision numbers and performance of recurrence calculation for H[i]?
More the prime is bigger, less false positive we gets. This is supposed to make our code faster.
In the other hand, more the prime is bigger, the related division and multiplication operations get slower.
The text was updated successfully, but these errors were encountered:
hamidgasmi
changed the title
Polynomial Hashing: How to choose the prime number and x?
Rabin-Karp’s Algorithm: How to choose the prime number and x?
Feb 26, 2020
How to make the trade-off between collision numbers and performance of recurrence calculation for H[i]?
More the prime is bigger, less false positive we gets. This is supposed to make our code faster.
In the other hand, more the prime is bigger, the related division and multiplication operations get slower.
The text was updated successfully, but these errors were encountered: