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
It would be useful for Counter to be generic over the hashing algorithm, in the same way that HashMap allows alternate hashing algorithms to be specified. Currently the performance of Counter is limited by the fact that it can only use the default hashing algorithm, which is significantly slower than available alternatives in many common use-cases (albeit resistant to DoS attacks, but that's not a concern in some applications).
The text was updated successfully, but these errors were encountered:
Feel free to make a PR. This feature is not important enough to me personally that I am likely to get to it in finite time, but I'm always happy to review code. The major concern for me is ensuring that the user experience is not adversely affected, so the new generic parameter must have a default, etc.
It would be useful for Counter to be generic over the hashing algorithm, in the same way that HashMap allows alternate hashing algorithms to be specified. Currently the performance of Counter is limited by the fact that it can only use the default hashing algorithm, which is significantly slower than available alternatives in many common use-cases (albeit resistant to DoS attacks, but that's not a concern in some applications).
The text was updated successfully, but these errors were encountered: