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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Clean-up the buckets marked as deleted when their number is too high.
Bug correction, when all the buckets are marked as deleted, the insert method loop forever. Correct the exit condition.
Fix issue #1, when a hash table was full of buckets marked as deleted or containing a value (no free bucket), the find and erase operations would loop forever. Same origin as the problem above.
Reduce the maximum max_load_factor that can be set to 0.8f instead of 0.9f (and the minimum to 0.1f).
Bug correction, set a moved hash map/set in a valid state so that it can still be used even after a move (#3).