Skip to main content

compute_content_fingerprint

Function compute_content_fingerprint 

Source
pub fn compute_content_fingerprint(content: &str) -> Fingerprint
Expand description

Compute content fingerprint for deduplication using blake3

This uses ReCoco’s Fingerprinter which provides:

  • 10-100x faster hashing than SHA256 via blake3
  • 16-byte compact fingerprint (vs 32-byte SHA256)
  • Automatic integration with ReCoco’s memoization system
  • Type-safe content-addressed caching