Trait polars_core::hashing::VecHash

source ·
pub trait VecHash {
    // Provided methods
    fn vec_hash(
        &self,
        _random_state: RandomState,
        _buf: &mut Vec<u64>
    ) -> PolarsResult<()> { ... }
    fn vec_hash_combine(
        &self,
        _random_state: RandomState,
        _hashes: &mut [u64]
    ) -> PolarsResult<()> { ... }
}

Provided Methods§

source

fn vec_hash( &self, _random_state: RandomState, _buf: &mut Vec<u64> ) -> PolarsResult<()>

Compute the hash for all values in the array.

This currently only works with the AHash RandomState hasher builder.

source

fn vec_hash_combine( &self, _random_state: RandomState, _hashes: &mut [u64] ) -> PolarsResult<()>

Implementors§