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

Re: [PATCH] Hold an 'unsigned long' chunk of the sha1 in obj_hash

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 25, 2013, 20:13 UTC
Message-ID
<7vobd22wto.fsf@alter.siamese.dyndns.org>
In-Reply-To
<6c2b67a2f0b67ee796c7676e3febe4c61ab85d4a.1366912627.git.trast@inf.ethz.ch>
Thomas Rast <trast@inf.ethz.ch> writes:
> So we take a slightly different approach, and trade some memory for
> better cache locality.

Interesting. It feels somewhat bait-and-switch to reveal that the above "some" turns out to be "double" later, but the resulting code does not look too bad, and the numbers do not look insignificant.

Previous: Thomas RastNext: Thomas Rast
Message 2 of 7 in “Hold an 'unsigned long' chunk of the sha1 in obj_hash”
  1. Hold an 'unsigned long' chunk of the sha1 in obj_hashThomas Rast, Apr 25, 2013
  2. Junio C HamanoApr 25, 2013
  3. Thomas RastApr 25, 2013
  4. Duy NguyenApr 25, 2013
  5. Jeff KingMay 1, 2013
  6. process tree diffs during "rev-list --objects"Jeff King, May 2, 2013
  7. Thomas RastMay 2, 2013

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.