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
Where 'sane use' is defined as the iter body only overwriting the key that is currently being inspected, and not adding or removing any others.
In the following scenario:
Map is filled to a point where the next insert will trigger a grow/rehash
Iterate
Iteration body overwrites its current key
The insert method will rehash at this point, whether the inserted key is new or not. This will throw off the iteration and cause it to miss some key,value pairs.
Seems to be fixed by simply only rehashing when an actual insert occurred. Patch forthcoming.
The text was updated successfully, but these errors were encountered:
Where 'sane use' is defined as the iter body only overwriting the key that is currently being inspected, and not adding or removing any others.
In the following scenario:
The insert method will rehash at this point, whether the inserted key is new or not. This will throw off the iteration and cause it to miss some key,value pairs.
Seems to be fixed by simply only rehashing when an actual insert occurred. Patch forthcoming.
The text was updated successfully, but these errors were encountered: