Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/crates/polars-core/src/hashing/mod.rs
6940 views
1
mod identity;
2
pub(crate) mod vector_hasher;
3
4
use std::hash::{BuildHasherDefault, Hash, Hasher};
5
6
pub use identity::*;
7
pub use vector_hasher::*;
8
9
// We must strike a balance between cache
10
// Overallocation seems a lot more expensive than resizing so we start reasonable small.
11
pub const _HASHMAP_INIT_SIZE: usize = 512;
12
13