Skip to main content

combine_cache_key

Function combine_cache_key 

Source
pub fn combine_cache_key<I: IntoIterator<Item = u64>>(parts: I) -> u64
Expand description

Folds an ordered sequence of cache-key ingredients (domain epochs, bit-level hashes of runtime state, the World instance id) into a single u64 via the std hasher. Deterministic within a process, which is all a per-process view cache needs.