Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/datafusion
/ hash_value
Method
hash_value
datafusion/functions-aggregate/src/hyperloglog.rs:100–102 ·
view source on GitHub ↗
(&self, obj: &T)
Source
from the content-addressed store, hash-verified
98
/// reasonable performance.
99
#[inline]
100
fn hash_value(&self, obj: &T) -> u64 {
101
HLL_HASH_STATE.hash_one(obj)
102
}
103
104
/// Adds an element to the HyperLogLog.
105
pub fn add(&mut self, obj: &T) {
Callers
1
add
Method · 0.45
Calls
1
hash_one
Method · 0.80
Tested by
no test coverage detected