You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: Trim identifical prefix and suffixes for LCS
This makes the common case of identical files (or identical
prefix/suffixes) much faster as the matrix built for the `LCS` gets much
smaller (or 0) `N/M`.
Benchmark for diffing two identical types, which contains long sequences
(strings).
```
diff/identical time: [442.74 us 449.57 us 453.27 us]
change: [-99.895% -99.893% -99.892%] (p = 0.00 < 0.05)
Performance has improved.
```
0 commit comments