pub struct CompactReport {
pub before: usize,
pub after: usize,
pub cache_before: usize,
pub cache_after: usize,
pub zero_vector_manifests: usize,
pub zero_vector_memories: usize,
}Expand description
Result of a Mnemo::compact_file run.
Fields§
§before: usizeLive memories before compaction.
after: usizeLive memories after compaction (expired ones dropped).
cache_before: usizeLive, non-expired cache entries before compaction. FIX-1 R-001.1: compaction now preserves the result cache instead of silently dropping it.
cache_after: usizeLive, non-expired cache entries after compaction (tombstoned and TTL-expired ones dropped).
zero_vector_manifests: usizeLegacy onboarding or manifest memories that held an all-zero vector (from before the zero-vector rule) and were given the sentinel unit vector a current manifest has.
zero_vector_memories: usizeOther memories with an all-zero vector, carried unchanged: their content and recall behaviour are the same as before.
Trait Implementations§
Source§impl Clone for CompactReport
impl Clone for CompactReport
impl Copy for CompactReport
Source§impl Debug for CompactReport
impl Debug for CompactReport
Auto Trait Implementations§
impl Forget for CompactReport
impl Freeze for CompactReport
impl Move for CompactReport
impl RefUnwindSafe for CompactReport
impl Send for CompactReport
impl Sync for CompactReport
impl Unpin for CompactReport
impl UnsafeUnpin for CompactReport
impl UnwindSafe for CompactReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more