Otzel.Diff (otzel v0.5.1)
View SourceText diffing utilities for Otzel.
This module computes the difference between two binary strings, returning a list of OT operations (Insert, Retain, Delete) that transform the first string into the second.
The implementation uses a half-match optimization for efficient diffing of large texts with common substrings.
Summary
Functions
Compute the difference between two binary texts.
Functions
@spec diff(binary(), binary(), module()) :: [Otzel.Op.t()]
Compute the difference between two binary texts.