bevy_utils

Type Alias StableHashSet

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

A stable hash set 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 StableHashSet<K> { /* private fields */ }