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

Method get_block

crates/kernel/src/env.rs:498–500  ·  view source on GitHub ↗

Get block members. Returns owned Vec (cheap KId clones).

(&self, id: &KId<M>)

Source from the content-addressed store, hash-verified

496 // pointers are reused by the allocator for semantically different expressions.
497 /// WHNF cache (full, with delta): (expr_hash, ctx_hash)-keyed.
498 pub whnf_cache: FxHashMap<(Addr, CtxAddr), KExpr<M>>,
499 /// WHNF cache (no delta): (expr_hash, ctx_hash)-keyed.
500 pub whnf_no_delta_cache: FxHashMap<(Addr, CtxAddr), KExpr<M>>,
501 /// Cheap-mode WHNF cache (no delta, DEF_EQ_CORE flags): same key shape as
502 /// `whnf_no_delta_cache`, but populated by cheap-projection callers in the
503 /// def-eq lazy-delta loop. Cheap output is NOT shared with full callers

Callers 1

try_get_blockMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected