Re: [PATCH v2] list-objects: support for skipping tree traversal
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 18, 2018, 04:40 UTC
- Message-ID
- <xmqqh8hjvpec.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20181018003915.60237-1-matvore@google.com>
Matthew DeVore <matvore@google.com> writes:
Show 8 quoted lines
> The tree:0 filter does not need to traverse the trees that it has > filtered out, so optimize list-objects and list-objects-filter to skip > traversing the trees entirely. Before this patch, we iterated over all > children of the tree, and did nothing for all of them, which was > wasteful. > > Signed-off-by: Matthew DeVore <matvore@google.com> > ---
Thanks, will queue.