git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Matthew DeVore
Message 2 of 2 in “list-objects: support for skipping tree traversal”
  1. list-objects: support for skipping tree traversalMatthew DeVore, Oct 18, 2018
  2. Junio C HamanoOct 18, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.