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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff King
Date: Saturday, November 17, 2007 - 10:00 pm

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, 5:53 am)
[PATCH 1/3] send-pack: track errors for each ref, Jeff King, (Sat Nov 17, 5:54 am)
Re: [PATCH 1/3] send-pack: track errors for each ref, Alex Riesen, (Sat Nov 17, 6:34 am)
Re: [PATCH 3/3] send-pack: assign remote errors to each ref, Daniel Barkalow, (Sat Nov 17, 11:05 am)
Re: [PATCH 1/3] send-pack: track errors for each ref, Daniel Barkalow, (Sat Nov 17, 11:05 am)
Re: [PATCH 1/3] send-pack: track errors for each ref, Junio C Hamano, (Sat Nov 17, 1:53 pm)
Re: [PATCH 1/3] send-pack: track errors for each ref, Junio C Hamano, (Sat Nov 17, 6:21 pm)
Re: [PATCH 3/3] send-pack: assign remote errors to each ref, Jeff King, (Sat Nov 17, 10:00 pm)