Skip to main content

Module component

Module component 

Source
Expand description

Components: parameterized cell factories with deterministic param hashing.

Two-level dedup, both keyed by hash:

  1. ParamHash over Component args — skip rebuilding identical params.
  2. ContentHash over the frozen Cell — dedup cells produced by different paths that happen to be byte-identical.

Floats in params must be quantized (e.g. Microns(i64) newtype) before reaching Hash. The core does not provide a float-aware hasher on purpose: quantization should be visible at the call site, not magic.

Structs§

BuildCtx

Traits§

Component