Selva Compute API Reference - v2.1.0
    Preparing search index...

    Function hashSolveInput

    • Hash definition and data tree into a stable cache key.

      The definition is the identity of what we solve, so a binary definition is hashed over its full content (fnv1aBytes) — a length-only or sampled key would let two different .gh files collide and serve one's cached solve for the other. .gh files are small enough that a single linear pass is negligible. (Note this differs from stableStringify's sampled handling of a Uint8Array found inside the dataTree, where sampling is a deliberate per-solve perf tradeoff.)

      Parameters

      Returns string