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
In a rare case TinyDictionary could lose a value.
We use the sign bit to tag last value in a bucket chain. We also use `FF` for uninitialized/empty buckets.
In extreme rare cases 127th pid to insert hashes into a a bucket still unused by the previous 126 values.
Once 127 is tagged it becomes `FF` which in will look like an empty bucket - the 127 value would be lost.
The fix is simple - detect the case as described and make 127 to chain to `FF` marker. In such case it will not be the last in the chain and will not be tagged.
OS:#17745531
0 commit comments