<T>
Implements the Myers diff algorithm.
Myers, Eugene W. "An O (ND) difference algorithm and its variations." Algorithmica 1.1 (1986): 251-266.
Methods | ||
---|---|---|
public
|
__construct(callable(T, T): bool $isEqual)
|
# |
public
|
diff(T[] $old, T[] $new): DiffElem[]
|
# |
public
|
diffWithReplacements(T[] $old, T[] $new): DiffElem[]
|
# |