Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2014-08-21 22:30:29 +0400
committerJunio C Hamano <gitster@pobox.com>2014-08-25 21:27:52 +0400
commite8d1dfe639f71dc957c30c1eaa82a3ef0010cd8e (patch)
tree1bbf774206ef7766a568f19d855959fae88fb3c7 /git-instaweb.sh
parentd31f3ad23dd1aee3c3e1015a43b02b995c01a9a1 (diff)
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 'git-instaweb.sh')
0 files changed, 0 insertions, 0 deletions