diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-07-17 13:30:11 +0200 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-07-17 13:30:11 +0200 |
| commit | d90cd6de7716644e5ec5c6d91cea25eeb88aae3e (patch) | |
| tree | 1fe486791e08496375f0965e2e9828bb6387b933 /src/unit_tests.cc | |
| parent | 388ada81423a786e017293a9b0e21733a0e52196 (diff) | |
Refactor find_diff_rec and detect kept prefix/suffixes early
Certain cases, like diffing an empty buffer with a big buffer, were
very slow, now this should get better as we will directly detect the
matching eol at the end of both buffers, end then immediatly detect
we need to add the rest of the big buffer.
We still are too slow on some general diff when there is a lot of
differences.
Diffstat (limited to 'src/unit_tests.cc')
0 files changed, 0 insertions, 0 deletions
