[PATCH v2 0/3] cherry-abbrev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is the second round of ef/cherry-abbrev.

1/3 is the same as last round, but with the corrections suggested
by René Scharfe.

2/3 isn't strictly needed, but it makes two call-sites for f_u_a
more consistent with the others.

3/3 fixes the gains back the performance that was lost in 2/3:

Best of five runs of "git ls-tree v1.6.5" in a loop:

without 3/3:
real        0m0.082s
user        0m0.040s
sys         0m0.036s

with 3/3:
real        0m0.074s
user        0m0.040s
sys         0m0.040s

Erik Faye-Lund (3):
  cherry: support --abbrev option
  ls: remove redundant logic
  find_unique_abbrev: early out without a memcpy

 builtin/log.c      |   39 +++++++++++++++++++++------------------
 builtin/ls-files.c |    7 ++-----
 builtin/ls-tree.c  |    6 ++----
 sha1_name.c        |    4 ++--
 4 files changed, 27 insertions(+), 29 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]