Function odht::bytes_needed [−][src]
pub fn bytes_needed<C: Config>(
max_item_count: usize,
max_load_factor_percent: u8
) -> usize
Expand description
Computes the exact number of bytes needed for storing a HashTable with the given max item count and load factor. The result can be used for allocating storage to be passed into HashTable::init_in_place.