Skip to main content

pane_memory_comparison

Function pane_memory_comparison 

Source
pub fn pane_memory_comparison(
    live: &PaneTree,
    timeline: &PaneInteractionTimeline,
    store: &PaneVersionStore,
) -> PaneMemoryComparison
Expand description

Build a deterministic cross-strategy retained-memory comparison.

live is the current tree the caller would keep with no undo history (the baseline floor). timeline and store must have been driven through the same operation history as live for the comparison to be meaningful; the function itself is pure and simply reads each strategy’s retained-state model.