Re: [PATCH] Simplify strbuf uses in fast-import.c using the proper functions.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <rene.scharfe@...>
Cc: <git@...>
Date: Wednesday, September 5, 2007 - 3:48 am

On Tue, Sep 04, 2007 at 11:46:59PM +0000, Ren=C3=A9 Scharfe wrote:
han
in
es
--------

  oh boy, yes I fixed that in my local patch collection. I'm waiting for
a few hours (days ?) to see if there will be some more comments, I've
integrated every single one done here already (and some I had on IRC
too), and I'll repost a new clean series that I intend to be a real
proposal for inclusion.

  And yes, this patch is a perfect example of the gain we have to share
a common buffer API. The code looks (at least to me) way nicer, and if
you look in the details, we perform as many memory allocations, copies,
and so on as in the previous version.

--=20
=C2=B7O=C2=B7  Pierre Habouzit
=C2=B7=C2=B7O                                                madcoder@debia=
n.org
OOO                                                http://www.madism.org
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
strbuf API, Pierre Habouzit, (Sun Sep 2, 6:42 pm)
Re: strbuf API, Matthieu Moy, (Mon Sep 3, 4:32 am)
Re: strbuf API, Pierre Habouzit, (Mon Sep 3, 4:49 am)
Re: strbuf API, Matthieu Moy, (Mon Sep 3, 5:02 am)
Re: strbuf API, Junio C Hamano, (Mon Sep 3, 5:18 am)
Re: strbuf API, Johannes Schindelin, (Mon Sep 3, 8:29 am)
Re: strbuf API, Pierre Habouzit, (Mon Sep 3, 7:53 am)
Re: strbuf API, Johan Herland, (Mon Sep 3, 1:43 am)
Re: strbuf API, Pierre Habouzit, (Mon Sep 3, 4:46 am)
Re: strbuf API, Miles Bader, (Mon Sep 3, 9:52 pm)
strbuf new semantics, let's give it a try, Pierre Habouzit, (Tue Sep 4, 4:47 am)
[PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Tue Sep 4, 4:47 am)
Re: [PATCH] Rework strbuf API and semantics., Johannes Schindelin, (Tue Sep 4, 7:11 am)
Re: [PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Tue Sep 4, 7:53 am)
Re: [PATCH] Rework strbuf API and semantics., Miles Bader, (Wed Sep 5, 12:44 am)
Re: [PATCH] Rework strbuf API and semantics., Andreas Ericsson, (Tue Sep 4, 9:34 am)
Re: [PATCH] Simplify strbuf uses in fast-import.c using the ..., Pierre Habouzit, (Wed Sep 5, 3:48 am)
[PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Wed Sep 5, 3:18 pm)
Re: [PATCH] Rework strbuf API and semantics., Junio C Hamano, (Thu Sep 6, 6:03 am)
Re: [PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Thu Sep 6, 6:22 am)
Re: [PATCH] Rework strbuf API and semantics., Junio C Hamano, (Thu Sep 6, 5:31 am)
Re: [PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Thu Sep 6, 5:49 am)
[PATCH] Simplify write_tree using strbuf's., Pierre Habouzit, (Wed Sep 5, 3:18 pm)
[PATCH] Further strbuf re-engineering., Pierre Habouzit, (Wed Sep 5, 3:18 pm)
Re: [PATCH] Further strbuf re-engineering., Junio C Hamano, (Wed Sep 19, 4:05 am)
[PATCH] More strbuf uses in cache-tree.c., Pierre Habouzit, (Wed Sep 5, 3:18 pm)
[PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Tue Sep 4, 10:01 am)
Re: [PATCH] Rework strbuf API and semantics., Johannes Schindelin, (Tue Sep 4, 11:44 am)
Re: [PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Tue Sep 4, 12:18 pm)
Re: [PATCH] Rework strbuf API and semantics., Wincent Colaiuta, (Tue Sep 4, 1:18 pm)
[PATCH] Add strbuf_fread, use it in fast-import.c., Pierre Habouzit, (Tue Sep 4, 4:48 am)
Use strbufs in commit.c (pretty printing), Pierre Habouzit, (Sat Sep 8, 7:53 am)
[PATCH 1/3] Add strbuf_rtrim (to remove trailing spaces)., Pierre Habouzit, (Sat Sep 8, 7:53 am)
strbuf new API, take 2 for inclusion, Pierre Habouzit, (Thu Sep 6, 7:20 am)
Re: strbuf new API, take 2 for inclusion, Jeff King, (Thu Sep 6, 8:58 am)
Re: strbuf new API, take 2 for inclusion, Pierre Habouzit, (Thu Sep 6, 1:15 pm)
Re: strbuf new API, take 2 for inclusion, Jeff King, (Thu Sep 6, 1:16 pm)
Re: strbuf new API, take 2 for inclusion, Pierre Habouzit, (Thu Sep 6, 1:19 pm)
[PATCH 1/7] Rework strbuf API and semantics., Pierre Habouzit, (Thu Sep 6, 7:20 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Johannes Schindelin, (Thu Sep 6, 10:09 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., David Kastrup, (Thu Sep 6, 10:43 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Jeff King, (Thu Sep 6, 10:52 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Jeff King, (Thu Sep 6, 10:21 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., David Kastrup, (Thu Sep 6, 10:44 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Jeff King, (Thu Sep 6, 10:50 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., David Kastrup, (Thu Sep 6, 11:06 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Johannes Sixt, (Thu Sep 6, 11:45 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Jeff King, (Thu Sep 6, 11:36 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., David Kastrup, (Thu Sep 6, 11:53 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Kristian , (Thu Sep 6, 1:49 pm)
[PATCH 4/7] Simplify write_tree using strbuf's., Pierre Habouzit, (Thu Sep 6, 7:20 am)
[PATCH 5/7] Further strbuf re-engineering., Pierre Habouzit, (Thu Sep 6, 7:20 am)
Re: [PATCH 6/7] Eradicate yet-another-buffer implementation ..., Johannes Schindelin, (Thu Sep 6, 10:05 am)
[PATCH 7/7] More strbuf uses in cache-tree.c., Pierre Habouzit, (Thu Sep 6, 7:20 am)