Click or drag to resize

DiffMatchPatchDiffBisect Method

Find the 'middle snake' of a diff, split the problem in two and return the recursively constructed diff.

See Myers 1986 paper: An O(ND) Difference Algorithm and Its Variations.


Namespace: GSF.Text
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
protected List<Diff> DiffBisect(
	string text1,
	string text2,
	DateTime deadline
)
View Source

Parameters

text1  String
Old string to be diffed
text2  String
New string to be diffed
deadline  DateTime
Time at which to bail if not yet complete

Return Value

ListDiff
List of Diff objects
See Also