summaryrefslogtreecommitdiff
path: root/src/unit_tests.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-07-17 13:30:11 +0200
committerMaxime Coste <mawww@kakoune.org>2017-07-17 13:30:11 +0200
commitd90cd6de7716644e5ec5c6d91cea25eeb88aae3e (patch)
tree1fe486791e08496375f0965e2e9828bb6387b933 /src/unit_tests.cc
parent388ada81423a786e017293a9b0e21733a0e52196 (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