merge.c
85.2 KB
-
merge: perform exact rename detection in linear time · cee1e7af
The current exact rename detection has order n^2 complexity. We can do better by using a map to first aggregate deletes and using that to match deletes to adds. This results in a substantial performance improvement for merges with a large quantity of adds and deletes.
Michael Tesch committed