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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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