mirror of
https://github.com/bevyengine/bevy
synced 2024-12-20 18:13:10 +00:00
8faaef17e5
# Objective We currently over/underpromise hash stability: - `HashMap`/`HashSet` use `BuildHasherDefault<AHasher>` instead of `RandomState`. As a result, the hash is stable within the same run. - [aHash isn't stable between devices (and versions)](https://github.com/tkaitchuck/ahash?tab=readme-ov-file#goals-and-non-goals), yet it's used for `StableHashMap`/`StableHashSet` - the specialized hashmaps are stable Interestingly, `StableHashMap`/`StableHashSet` aren't used by Bevy itself (anymore). ## Solution Add/fix documentation ## Alternatives For `StableHashMap`/`StableHashSet`: - remove them - revive #7107 --- ## Changelog - added iteration stability guarantees for different hashmaps |
||
---|---|---|
.. | ||
cow_arc.rs | ||
default.rs | ||
float_ord.rs | ||
futures.rs | ||
intern.rs | ||
label.rs | ||
lib.rs | ||
once.rs | ||
short_names.rs | ||
synccell.rs | ||
syncunsafecell.rs | ||
uuid.rs |