author | Junio C Hamano <gitster@pobox.com> | |
Sun, 22 Jun 2008 07:27:46 +0000 (00:27 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 22 Jun 2008 07:54:40 +0000 (00:54 -0700) | ||
commit | 51e0d0a67b8d31e92d52e15b577afb079359ec63 | |
tree | d48e6fe34e18dc7e4ad3c98f39be4fcf690a366d | tree | snapshot |
parent | a1b32fdc3d1d05395f186bfa06e92174519dab8d | commit | diff |
rerere: remove dubious "tail_optimization"
It is dubious if it is cheaper to shift entries repeatedly using memmove()
to collect entries that needs to be written out in front of an array than
simply marking the entries to be skipped. In addition, the label called this
"tail optimization", but this obviously is not what people usually call
with that name.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
It is dubious if it is cheaper to shift entries repeatedly using memmove()
to collect entries that needs to be written out in front of an array than
simply marking the entries to be skipped. In addition, the label called this
"tail optimization", but this obviously is not what people usually call
with that name.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-rerere.c | diff | blob | history |