diff options
author | René Scharfe <l.s.r@web.de> | 2014-08-21 20:30:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-08-25 10:27:52 -0700 |
commit | e8d1dfe639f71dc957c30c1eaa82a3ef0010cd8e (patch) | |
tree | 1bbf774206ef7766a568f19d855959fae88fb3c7 /Documentation/RelNotes/1.8.0.txt | |
parent | Merge branch 'maint-1.8.5' into maint-1.9 (diff) | |
download | tgif-e8d1dfe639f71dc957c30c1eaa82a3ef0010cd8e.tar.xz |
sha1_name: avoid quadratic list insertion in handle_one_ref
Similar to 16445242 (fetch-pack: avoid quadratic list insertion in
mark_complete), sort only after all refs are collected instead of while
inserting. The result is the same, but it's more efficient that way.
The difference will only be measurable in repositories with a large
number of refs.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.8.0.txt')
0 files changed, 0 insertions, 0 deletions