librashader_common/
map.rs

1/// A hashmap optimized for small sets of size less than 32 with a fast hash implementation.
2///
3/// Used widely for shader reflection.
4pub type FastHashMap<K, V> =
5    halfbrown::SizedHashMap<K, V, core::hash::BuildHasherDefault<rustc_hash::FxHasher>, 32>;
6
7/// A string with small string optimizations up to 23 bytes.
8pub type ShortString = smartstring::SmartString<smartstring::LazyCompact>;