kutil 0.0.6

Kutil utilities collection
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::build_hasher::*;

use std::collections::*;

/// Fast [HashSet].
///
/// Note that the implementation relies on a
/// [non-cryptographic hash function](https://en.wikipedia.org/wiki/Non-cryptographic_hash_function).
pub type FastHashSet<ValueT> = HashSet<ValueT, FastBuildHasher>;

/// Fast concurrent hash set.
///
/// Note that the implementation relies on a
/// [non-cryptographic hash function](https://en.wikipedia.org/wiki/Non-cryptographic_hash_function).
pub type FastConcurrentHashSet<ValueT> = papaya::HashSet<ValueT, FastBuildHasher>;

pub use ahash::HashSetExt;