pub fn content_hash(content: &str) -> u64Expand description
Compute a stable hash of content for deduplication.
Uses FNV-1a (64-bit) — a deterministic, version-independent hash — so that
persisted hash values (in memories.content_hash and the embedding-cache
primary key) remain stable across Rust releases. DefaultHasher is not
guaranteed to be stable across std versions and is therefore unsuitable
for persisted keys.