How the comparison works
The two texts are compared line by line using the longest common subsequence — the same idea behind git diff. Lines present only in the changed version show as additions, lines missing from it show as removals, and everything shared stays unmarked.
Comparison runs entirely in your browser, so it's safe for config files, contracts, and anything else you'd rather not upload to a diff site. Very large texts fall back to a simpler comparison to stay fast.