Skip to main content

diff_context_digest

Function diff_context_digest 

Source
pub fn diff_context_digest(
    prev: &ContextDigest,
    next: &ContextSnapshot,
) -> ContextDelta
Expand description

diff_context against a retained ContextDigest instead of a full previous snapshot. Produces the same delta shapes for the same changes: unchanged regions emit nothing, tail growth becomes Append, everything else Set/Clear/Remove.