Re: [PATCH 03/11] Use new compress helpers in fast-import

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Marco Costalba <mcostalba@...>
Cc: <spearce@...>, <git@...>
Date: Sunday, February 3, 2008 - 6:53 pm

Marco Costalba <mcostalba@gmail.com> writes:


I'll let Shawn comment on this.  The realloc() does not seem to
be using the contents in the buffer from the previous round, so
I suspect that a free() followed by an independent alloc() would
be an improvement when the later call uses much larger buffer
than the previous one, but would be a waste if the later one
needs smaller buffer.
-
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:
Re: [PATCH 03/11] Use new compress helpers in fast-import, Junio C Hamano, (Sun Feb 3, 6:53 pm)
Re: [PATCH 03/11] Use new compress helpers in fast-import, Shawn O. Pearce, (Sun Feb 3, 9:48 pm)