polars_utils::hashing

Function hash_to_partition

Source
pub fn hash_to_partition(h: u64, n_partitions: usize) -> usize