use ahash::{HashMap, HashSet, RandomState};
#[inline]
#[must_use]
pub(crate) const fn random_state() -> RandomState {
#[expect(clippy::unusual_byte_groupings, reason = "readability")]
RandomState::with_seeds(
0xBAAD_5EED_BAAD_C0DE,
0xC0DE_CAFE_DECAF_BAD,
0xDEFEC8ED__BAAD_D00D,
0x1337_1337_1337_1337,
)
}
#[inline]
#[must_use]
pub const fn map<K, V>() -> HashMap<K, V> {
HashMap::with_hasher(random_state())
}
#[inline]
#[must_use]
pub const fn set<T>() -> HashSet<T> {
HashSet::with_hasher(random_state())
}