bevy_utils

Type Alias StableHashMap

Source
pub type StableHashMap<K, V> = HashMap<K, V, FixedState>;
๐Ÿ‘ŽDeprecated: Will be required to use the hash library of your choice. Alias for: hashbrown::HashMap<K, V, FixedState>
Expand description

A stable hash map implementing aHash, a high speed keyed hashing algorithm intended for use in in-memory hashmaps.

Unlike HashMap the iteration order stability extends between executions using the same Bevy version on the same device.

aHash is designed for performance and is NOT cryptographically secure.

Aliased Typeยง

struct StableHashMap<K, V> { /* private fields */ }