[PATCH/RFC v2 0/4 resend] Re: fast-import: use struct hash_table
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 11, 2012, 12:12 UTC
- Message-ID
- <20120411121259.GB19568@burratino>
- In-Reply-To
- <1301572798-9973-1-git-send-email-david.barr@cordelta.com>
(resending with newer address for David. Sorry for the noise) Hi David,
David Barr wrote:
> The current custom hash tables in fast-import.c do not grow. > This causes poor performance for very large imports. > Fortunately, we have struct hash_table and friends so there's > no need to write cumbersome hash table growth code.
Thanks for these patches. I've tentatively queued the following patches at
git://repo.or.cz/git/jrn.git fast-import-pu
and would be happy to ask Junio to pull them if they look sane to you.
Sorry for the long delay.
David Barr (2): fast-import: allow object_table to grow dynamically fast-import: allow atom_table to grow dynamically
Jonathan Nieder (2): fast-import: allow branch_table to grow dynamically fast-import: use DIV_ROUND_UP
fast-import.c | 153 ++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 102 insertions(+), 51 deletions(-)