journal_common/collections.rs
1//! Collection type aliases.
2//!
3//! This module provides convenient aliases for the hash-based collections
4//! used throughout the journal crates. We use `rustc_hash::FxHashMap` and
5//! `FxHashSet` for their performance characteristics.
6
7pub type HashMap<K, V> = rustc_hash::FxHashMap<K, V>;
8pub type HashSet<T> = rustc_hash::FxHashSet<T>;
9pub type VecDeque<T> = std::collections::VecDeque<T>;