redlines icon indicating copy to clipboard operation
redlines copied to clipboard

Fix: Implementing Character-Level Diffing in Limited Situations

Open houfu opened this issue 9 months ago • 0 comments

Closes #44

We make a limited two pass diffing approach which replace words that share similarities by running a second character level diff on just those pairs (like "dinner"/"dinners"). This is only activated when the change is only on one word/token has changes in the beginning or end of the token. This is a balance on performance and improvements on common cases. You might find inconsistencies or puzzling cases why character level is or is not activated. Feedback is always welcome.

houfu avatar May 18 '25 23:05 houfu