swc_allocator/
collections.rsuse std::hash::BuildHasherDefault;
use rustc_hash::FxHasher;
#[cfg(feature = "nightly")]
use crate::FastAlloc;
#[cfg(feature = "nightly")]
pub type HashMap<K, V, S> = hashbrown::HashMap<K, V, S, FastAlloc>;
#[cfg(feature = "nightly")]
pub type HashSet<T, S> = hashbrown::HashSet<T, S, FastAlloc>;
#[cfg(not(feature = "nightly"))]
pub type HashMap<K, V, S> = hashbrown::HashMap<K, V, S>;
#[cfg(not(feature = "nightly"))]
pub type HashSet<T, S> = hashbrown::HashSet<T, S>;
pub type FxBuildHasher = BuildHasherDefault<FxHasher>;
pub type FxHashMap<K, V> = HashMap<K, V, FxBuildHasher>;
pub type FxHashSet<T> = HashSet<T, FxBuildHasher>;
pub use hashbrown::hash_map;