precompute_query_hash

Function precompute_query_hash 

Source
pub fn precompute_query_hash(key: &str) -> u64
Expand description

Pre-compute a query hash for repeated lookups.

Use this when you have a query key that will be used many times. Computing the hash once and using get_by_hash is faster than string key lookups.