Expand description
Same-process frontier rows tied to one retained, append-only Store.
This transports opaque handles, including original receiver/history views. It is not a value encoding or checkpoint format. The enclosing frontier supplies record lengths, order and checksums; this codec checks its private lifetime token, row width, canonical identity and actual Store coordinates.
§Example
use std::sync::Arc;
use dive_core::{Handle, Store, frontier_codec::FrontierCodec};
let codec = FrontierCodec::new(Arc::new(Store::new(true)), 1)?;
let bytes = codec.encode(&[Handle::TRUE], &[Handle::TRUE])?;
let row = codec.decode(&bytes)?;
assert_eq!(row.identity, [Handle::TRUE]);Structs§
- Frontier
Codec - A narrow frontier handle codec which keeps its live Store allocated.
- Rows
- Two rows with different roles: mathematical identity and original evaluation.