Code

rerere: remove dubious "tail_optimization"
authorJunio C Hamano <gitster@pobox.com>
Sun, 22 Jun 2008 07:27:46 +0000 (00:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Jun 2008 07:54:40 +0000 (00:54 -0700)
commit51e0d0a67b8d31e92d52e15b577afb079359ec63
treed48e6fe34e18dc7e4ad3c98f39be4fcf690a366d
parenta1b32fdc3d1d05395f186bfa06e92174519dab8d
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>
builtin-rerere.c