Re: [PATCH v1 3/3] Add initial parallel version of unpack_trees()

2018-07-18 Thread Junio C Hamano
Ben Peart writes: > + * Fetch the tree from the ODB for each peer directory in the > + * n commits. > + * > + * For 2- and 3-way traversals, we try to avoid hitting the > + * ODB twice for the same OID. This should yield a nice speed > + * up in checkouts and

[PATCH v1 3/3] Add initial parallel version of unpack_trees()

2018-07-18 Thread Ben Peart
Signed-off-by: Ben Peart --- cache.h| 1 + config.c | 5 + environment.c | 1 + unpack-trees.c | 313 - unpack-trees.h | 30 + 5 files changed, 348 insertions(+), 2 deletions(-) diff --git a/cache.h b/cache.h index