Re: [PATCH v2 2/4] unpack-trees: optimize walking same trees with cache-tree

2018-07-30 Thread Ben Peart
On 7/29/2018 6:33 AM, Nguyễn Thái Ngọc Duy wrote: From: Duy Nguyen In order to merge one or many trees with the index, unpack-trees code walks multiple trees in parallel with the index and performs n-way merge. If we find out at start of a directory that all trees are the same (by comparing

[PATCH v2 2/4] unpack-trees: optimize walking same trees with cache-tree

2018-07-29 Thread Nguyễn Thái Ngọc Duy
From: Duy Nguyen In order to merge one or many trees with the index, unpack-trees code walks multiple trees in parallel with the index and performs n-way merge. If we find out at start of a directory that all trees are the same (by comparing OID) and cache-tree happens to be available for that