Skip to main content

HASH_VERSION

Constant HASH_VERSION 

Source
pub const HASH_VERSION: u32 = 1;
Expand description

The version of the hashes of expressions (Context::structural_hash and Context::shape_hashes): bumped whenever a hash of some expression changes (the mixer, what is hashed, an operator’s code). A hash kept outside the process is of a version, and of no use under another.