librashader/librashader-common/src/map.rs

9 lines
328 B
Rust
Raw Normal View History

/// Fast optimized hash map type for small sets.
2024-02-15 11:22:25 +11:00
pub type FastHashMap<K, V> =
halfbrown::SizedHashMap<K, V, core::hash::BuildHasherDefault<rustc_hash::FxHasher>, 32>;
/// A string with small string optimizations up to 23 bytes.
pub type ShortString = smartstring::SmartString<smartstring::LazyCompact>;
2024-02-15 11:22:25 +11:00
pub use halfbrown;