Crate vcdiff_merger Copy item path Source DCopy Disassociated Copy (from the window it was found in). ExAdd Extracted Add instruction. Merger Merger struct that can accept merging of additional patches. SparseInst Extracted Instruction with a starting position. Stats Stats about the patch file. SummaryPatch This is returned when the current summary patch contains no Copy instructions, OR when you are finished with the Merger. DInst Disassociated Instruction. MergeInst PosInst comp_indicator Determines the next WinIndicator based on the current instruction type, the current WinIndicator, and the instruction’s VCD target status.
Returns None if the new instruction does not change the current WinIndicator. deref_non_copy_ss This function will dereference all Non-CopySS instructions in the extracted instructions. extract_patch_instructions Extracts all instructions from all windows.
Memory consumption may be 2-4x the size of the encoded (uncompressed) patch. find_controlling_inst Finds the index of the instruction that controls the given output position. get_exact_slice Returns a cloned and clipped subslice of instructions that exactly covers the requested output range.