polars_core::hashing

Trait VecHash

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

Provided Methods§

Source

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

Compute the hash for all values in the array.

Source

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

Implementors§