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
I have a problem with one point, which I think is design flaws.
When I want to query some value from the hashtable, I can do this by running hashtable.Get(key, func(Slot)(bool,error))... But due to hash collisions, there may be many values associated with the hashcode of the current key, but the original key is not stored in the slot, so with a MatchFunc function, how can the user know if it is a match?
The above point is my doubt, and I have also done relevant tests.
The text was updated successfully, but these errors were encountered:
I have a problem with one point, which I think is design flaws.
When I want to query some value from the hashtable, I can do this by running hashtable.Get(key, func(Slot)(bool,error))... But due to hash collisions, there may be many values associated with the hashcode of the current key, but the original key is not stored in the slot, so with a MatchFunc function, how can the user know if it is a match?
The above point is my doubt, and I have also done relevant tests.
The text was updated successfully, but these errors were encountered: