kutil 0.0.6

Kutil utilities collection
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// Fast [BuildHasher](std::hash::BuildHasher).
///
/// Note that the implementation relies on a
/// [non-cryptographic hash function](https://en.wikipedia.org/wiki/Non-cryptographic_hash_function).
pub type FastBuildHasher = ahash::random_state::RandomState;

// Note: rapidhash and foldhash may be a bit faster than aHash, but they are more limited.
//
// The issue is that their implementation uses global state and that global state will be
// *separate* for each dynamically linked instance, which will result in different hashes despite
// using the same code.
//
// See also:
// https://github.com/PyO3/pyo3/issues/5820
// https://github.com/ibraheemdev/papaya/issues/85