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.297-beta+c4c8a839e939f7741977e6b01208d8a074273105
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