maximum_buckets_in

Function maximum_buckets_in 

Source
fn maximum_buckets_in(
    allocation_size: usize,
    table_layout: TableLayout,
    group_width: usize,
) -> usize
Expand description

Finds the largest number of buckets that can fit in allocation_size provided the given TableLayout.

This relies on some invariants of capacity_to_buckets, so only feed in an allocation_size calculated from capacity_to_buckets.