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

Function mk_axio

crates/kernel/src/env.rs:644–652  ·  view source on GitHub ↗
(_s: &str)

Source from the content-addressed store, hash-verified

642/// caches.
643///
644/// `get()` returns owned `KConst`/`Vec` (cheap Arc clones) to avoid
645/// tying callers to internal map borrows.
646pub struct KEnv<M: KernelMode> {
647 // -- Constants --
648 /// Loaded constants keyed by `KId`.
649 pub consts: FxHashMap<KId<M>, KConst<M>>,
650 /// Block membership: block id → ordered member ids.
651 pub blocks: FxHashMap<KId<M>, Vec<KId<M>>>,
652
653 // -- Intern table (hash-consing for pointer dedup) --
654 pub intern: InternTable<M>,
655

Callers 5

insert_and_getFunction · 0.85
contains_key_worksFunction · 0.85
get_by_id_worksFunction · 0.85
iter_all_entriesFunction · 0.85

Calls 1

sortFunction · 0.85

Tested by 4

insert_and_getFunction · 0.68
contains_key_worksFunction · 0.68
get_by_id_worksFunction · 0.68
iter_all_entriesFunction · 0.68