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

Re: [PATCH v2 0/2] Refactor hash search with fanout table

From
Derrick Stolee <stolee@gmail.com>
Date
Feb 13, 2018, 18:52 UTC
Message-ID
<4750f163-541b-81bb-aed1-4ddfe7657ade@gmail.com>
In-Reply-To
<cover.1518546891.git.jonathantanmy@google.com>
On 2/13/2018 1:39 PM, Jonathan Tan wrote:
> Updates from v1:
>   - use uint32_t so that we can operate on packfiles of up to 4G objects
>     (this also means that I had to change the signature of the function)

I take it "4G objects" means "4 billion objects". The distinction is only important that the limit is not a 4GB IDX file, but in fact a large enough object count that the IDX file can be 100+ GB.

Show 5 quoted lines
>   - don't hide types
>
> Derrick: you'll need to slightly change your patch to use the new API.
> As for find_abbrev_len_for_pack(), that's a good idea - I didn't do it
> in this set but it definitely should be done.

Thanks. I'll try to remember to do that change when this lands in master. I'll bring the new prototype into my commit-graph patch.

Reviewed-By: Derrick Stolee <dstolee@microsoft.com>
Previous: Jonathan TanNext: Junio C Hamano
Message 11 of 13 in “Refactor hash search with fanout table”
  1. 0/2 Refactor hash search with fanout tableJonathan Tan, Feb 2, 2018
  2. 1/2 packfile: remove GIT_DEBUG_LOOKUP log statementsJonathan Tan, Feb 2, 2018
  3. 2/2 packfile: refactor hash search with fanout tableJonathan Tan, Feb 2, 2018
  4. René ScharfeFeb 9, 2018
  5. Jonathan TanFeb 9, 2018
  6. Junio C HamanoFeb 2, 2018
  7. Derrick StoleeFeb 3, 2018
  8. 0/2 Refactor hash search with fanout tableJonathan Tan, Feb 13, 2018
  9. 2/2 packfile: refactor hash search with fanout tableJonathan Tan, Feb 13, 2018
  10. 1/2 packfile: remove GIT_DEBUG_LOOKUP log statementsJonathan Tan, Feb 13, 2018
  11. Derrick StoleeFeb 13, 2018
  12. Junio C HamanoFeb 13, 2018
  13. Jonathan TanFeb 13, 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.