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

Function intern_expr_dedup

crates/kernel/src/env.rs:723–731  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

721 }
722
723 /// Insert a block membership entry.
724 pub fn insert_block(&mut self, id: KId<M>, members: Vec<KId<M>>) {
725 self.blocks.insert(id, members);
726 }
727
728 /// Clear all worker-local kernel state before checking another scheduled
729 /// block or when a caller needs a fresh environment.
730 pub fn clear(&mut self) {
731 self.consts.clear();
732 self.blocks.clear();
733 self.intern.univs.clear();
734 self.intern.exprs.clear();

Callers

nothing calls this directly

Calls 2

intern_exprMethod · 0.80
varFunction · 0.70

Tested by

no test coverage detected