Re: [PATCH 3/3] pretty=format: Avoid some expensive calculations when not needed

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Monday, November 5, 2007 - 12:51 pm

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:


That makes sense.



Instead of allocating a separate array and freeing at the end,
wouldn't it make more sense to have a bitfield that records what
is used by the format string inside the array elements?
-
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 0/3] Make user formatted commit listing less expensive, Johannes Schindelin, (Sun Nov 4, 12:14 pm)
[PATCH 1/3] Split off the pretty print stuff into its own file, Johannes Schindelin, (Sun Nov 4, 12:15 pm)
[PATCH 2/3] interpolate.[ch]: Add a function to find which ..., Johannes Schindelin, (Sun Nov 4, 12:15 pm)
[PATCH 3/3] pretty=format: Avoid some expensive calculatio ..., Johannes Schindelin, (Sun Nov 4, 12:15 pm)
Re: [PATCH 3/3] pretty=format: Avoid some expensive calcul ..., Junio C Hamano, (Mon Nov 5, 12:51 pm)
Re: [PATCH 3/3] pretty=format: Avoid some expensive calcul ..., Johannes Schindelin, (Mon Nov 5, 4:53 pm)
Re: [PATCH 3/3] pretty=format: Avoid some expensive calcul ..., Johannes Schindelin, (Tue Nov 6, 4:36 pm)
[PATCH 1/2] interpolate.[ch]: Add a function to find which ..., Johannes Schindelin, (Tue Nov 6, 4:38 pm)
[PATCH 2/2] pretty=format: Avoid some expensive calculatio ..., Johannes Schindelin, (Tue Nov 6, 4:38 pm)
Re: [PATCH 3/3] pretty=format: Avoid some expensive calcul ..., Johannes Schindelin, (Tue Nov 6, 4:45 pm)
Re: [PATCH 3/3] pretty=format: Avoid some expensive calcul ..., Johannes Schindelin, (Wed Nov 7, 5:14 pm)