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

Function prop_pack_bools_roundtrip

crates/ixon/src/serialize.rs:2150–2154  ·  view source on GitHub ↗
(x: Vec<bool>)

Source from the content-addressed store, hash-verified

2148 /// Parse an `.ixe` buffer into a metadata-light, **zero-copy** index for the
2149 /// anon/lazy check path (see [`LazyIndex`]). Mirrors [`Env::get`]'s section
2150 /// walk and reuses the same battle-tested parsers (so every metadata variant
2151 /// — e.g. `CallSite` — is handled), but:
2152 ///
2153 /// - constants are recorded as `(addr, offset, len)` windows into `data`
2154 /// rather than copied/stored, and their bodies are never parsed here;
2155 /// - the `names` table and each `Named`'s `ExprMetaArena` are parsed only to
2156 /// advance the cursor and are then dropped, keeping just `name → addr` and
2157 /// the per-`Defn` reducibility hint;

Callers

nothing calls this directly

Calls 5

unpack_boolsFunction · 0.85
pack_boolsFunction · 0.85
truncateMethod · 0.80
lenMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected