go-cmp
go-cmp copied to clipboard
Adjust heuristic for line-based versus byte-based diffing
If the string has many characters that require escape sequences to print, then we need to take that into consideration and avoid byte-by-byte diffing.
Friendly ping @neild
Friendly ping @neild .
We're using cmp to display some diffs of things at Tailscale and this would improve the verbosity of that service.