Skip to main content

text_hash

Function text_hash 

Source
pub fn text_hash(text: &str) -> u64
Expand description

The hash a pooled string is filed under as a map key: 64-bit FNV-1a over its bytes. A map key keeps it in the value, and a .cdlb records the key with it, so it has to come out the same on every machine and in every build.