Table of Contents

Property MaxAlignmentCells

Namespace
DocWright.Compare
Assembly
DocWright.Compare.dll

MaxAlignmentCells

Gets or sets the largest LCS table, in cells, the comparer will build. Beyond it the alignment falls back to a bounded two-pointer resynchronization, which is linear and finds a good alignment rather than the optimal one; AlignmentFellBack reports that it happened.

The default matches the visual harness's glyph alignment, which has run against this ceiling since Phase 4.

public long MaxAlignmentCells { get; set; }

Property Value

long

Exceptions

ArgumentOutOfRangeException

The value is not positive.