Re: [PATCH 3/3] send-pack: assign remote errors to each ref

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: <git@...>, Alex Riesen <raa.lkml@...>, Pierre Habouzit <madcoder@...>, Daniel Barkalow <barkalow@...>
Date: Sunday, November 18, 2007 - 1:00 am

On Sat, Nov 17, 2007 at 08:47:11PM -0800, Junio C Hamano wrote:


I don't see such a strlen, except in the implementation of prefixcmp,
because we continue most of the time based on its result. If you have a
false match on the prefixcmp (i.e., a prefix of another ref), you do an
extra strlen.

But I don't think this is worth micro-optimizing.

-Peff
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v3 0/3] tracking per-ref errors on push, Jeff King, (Sat Nov 17, 8:53 am)
Re: [PATCH 3/3] send-pack: assign remote errors to each ref, Junio C Hamano, (Sun Nov 18, 12:47 am)
Re: [PATCH 3/3] send-pack: assign remote errors to each ref, Jeff King, (Sun Nov 18, 1:00 am)
Re: [PATCH 3/3] send-pack: assign remote errors to each ref, Daniel Barkalow, (Sat Nov 17, 2:05 pm)
[PATCH 1/3] send-pack: track errors for each ref, Jeff King, (Sat Nov 17, 8:54 am)
Re: [PATCH 1/3] send-pack: track errors for each ref, Junio C Hamano, (Sat Nov 17, 4:53 pm)
Re: [PATCH 1/3] send-pack: track errors for each ref, Daniel Barkalow, (Sat Nov 17, 2:05 pm)
Re: [PATCH 1/3] send-pack: track errors for each ref, Junio C Hamano, (Sat Nov 17, 9:21 pm)
Re: [PATCH 1/3] send-pack: track errors for each ref, Jeff King, (Sat Nov 17, 11:12 pm)
Re: [PATCH 1/3] send-pack: track errors for each ref, Alex Riesen, (Sat Nov 17, 9:34 am)