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

Re: Why do base objects appear behind the delta in packs?

From
Jakub Narebski <jnareb@gmail.com>
Date
Aug 29, 2006, 14:58 UTC
Message-ID
<ed1kn3$c3r$1@sea.gmane.org>
In-Reply-To
<20060829134233.GA21335@spearce.org>
Shawn Pearce wrote:
Show 6 quoted lines
> From a data locality perspective putting the base object before
> or after the delta shouldn't matter, as either way the delta
> is useless without the base.  So placing the base immediately
> before the delta should perform just as well as placing it after.
> Either way the OS should have the base in cache by the time the
> delta is being accessed.

_Should_ perform? Have you got any measurements of speed of creating "base before delta" pack, and reading objects from this kind of pack?

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Nicolas PitreNext: Shawn Pearce
Message 3 of 9 in “Why do base objects appear behind the delta in packs?”
  1. Shawn PearceAug 29, 2006
  2. Nicolas PitreAug 29, 2006
  3. Jakub NarebskiAug 29, 2006
  4. Shawn PearceAug 29, 2006
  5. Junio C HamanoAug 29, 2006
  6. Shawn PearceAug 29, 2006
  7. Nicolas PitreAug 29, 2006
  8. Shawn PearceAug 29, 2006
  9. Jon SmirlAug 29, 2006

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.