hash_table_bytes

Function hash_table_bytes 

Source
pub fn hash_table_bytes(entries: u64, entry_bytes: u64) -> Option<u64>
Expand description

2026-10-02: Bytes of a Rust HashMap (hashbrown) holding entries entries of entry_bytes each (a multiple of 16), as it grows by inserting them: buckets are the next power of two of entries * 8 / 7 (4 or 8 below 8 entries; hashbrown capacity_to_buckets), each bucket one entry plus one control byte, plus one 16-byte control group. 0 entries hold no allocation.