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
The reason will be displayed to describe this comment to others. Learn more.
To my understanding, that problem is regarding hashmaps. In fact, he (rust-lang/rust#36481) proposed a solution where they fallback to a B-tree map to solve this problem, so it shouldn't be a problem with this map. I will keep it in mind for the hashmap I'm creating.
8a4bce6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ka-weihe could you maybe randomize iteration (Go randomizes it as well) by default to avoid
There should be also a deterministic variant (guaranteeing iteration in insertion order) - e.g.
OrderedMap
, but it must not be the defaultmap
.See also my comment #2209 (comment) .
8a4bce6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To my understanding, that problem is regarding hashmaps. In fact, he (rust-lang/rust#36481) proposed a solution where they fallback to a B-tree map to solve this problem, so it shouldn't be a problem with this map. I will keep it in mind for the hashmap I'm creating.