jay-compositor 1.15.0

The Jay compositor
1
2
3
4
5
6
7
8
9
10
11
use crate::utils::copyhashmap::LockableRandomState;
use hashbrown::HashMap;
use hashbrown::HashSet;

pub type BHashSet<T> = HashSet<T, ahash::RandomState>;

pub type BHashMap<K, V> = HashMap<K, V, ahash::RandomState>;

impl LockableRandomState for ahash::RandomState {
    const LOCKED_STATE: Self = ahash::RandomState::with_seeds(0, 0, 0, 0);
}