txmap 3.1.4

A concurrent transactional hash map for Rust with fine-grained locking, internal mutability and composable transactions
Documentation
1
2
3
4
5
6
7
8
9
10
/// The default hasher used by [`TxMap`](crate::tx_map::TxMap).
///
/// When the `rapidhash` feature is enabled (default), this is
/// [`rapidhash::fast::RandomState`]; otherwise it falls back to
/// [`std::hash::RandomState`].
#[cfg(feature = "rapidhash")]
pub type DefaultBuildHasher = rapidhash::fast::RandomState;

#[cfg(not(feature = "rapidhash"))]
pub type DefaultBuildHasher = std::hash::RandomState;