Skip to main content

bucket_count

Function bucket_count 

Source
pub fn bucket_count(build_bytes: u64, budget: u64) -> usize
Expand description

Buckets to partition into for a build side estimated at build_bytes against a per-task budget.

Sized so a bucket is expected to land at about half the budget, which leaves room for the hash table’s own overhead on top of the raw rows.