[go: up one dir, main page]

im 12.1.0

Immutable collection datatypes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use typenum::U64;

/// The branching factor of RRB-trees
pub type VectorChunkSize = U64;

/// The branching factor of B-trees
pub type OrdChunkSize = U64; // Must be an even number!

/// The branching factor of HAMTs
pub const HASH_SHIFT: usize = 5;
pub const HASH_SIZE: usize = 1 << HASH_SHIFT;
pub type HashBits = u32; // a uint of HASH_SIZE bits