MCPcopy Create free account
hub / github.com/argumentcomputer/ix / build_query_counts_array

Function build_query_counts_array

crates/ffi/src/aiur/protocol.rs:320–354  ·  view source on GitHub ↗

Helper: summarise one execute's `QueryRecord` into a Lean `Array (Nat × Nat)` of `(unique_rows, total_hits)` pairs, one per function circuit followed by one per memory size. Mirrors the summary code used by every check/prove FFI.

(
  query_record: &QueryRecord,
  toplevel: &aiur::bytecode::Toplevel,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 4

pushMethod · 0.80
lenMethod · 0.45
iterMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected