diff options
| author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2021-05-04 09:25:44 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-05-05 18:56:48 +0900 |
| commit | 204aa2d24d83f308ef1ab128b1a7722daf9cfd56 (patch) | |
| tree | 3a1f19c86ef6ef3b840f9526b93c371348c20931 /commit-graph.c | |
| parent | Git 2.28.1 (diff) | |
| download | git-204aa2d24d83f308ef1ab128b1a7722daf9cfd56.tar.gz git-204aa2d24d83f308ef1ab128b1a7722daf9cfd56.zip | |
patience diff: remove unnecessary string comparisons
xdl_prepare_env() calls xdl_classify_record() which arranges for the
hashes of non-matching lines to be different so lines can be tested
for equality by comparing just their hashes.
This reduces the time taken to calculate the diff of v2.28.0 to
v2.29.0 by ~3-4%.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
