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

Re: [GSoC] Designing a faster index format - Progress report week 13

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 22, 2012, 18:52 UTC
Message-ID
<7vfw8jsk5o.fsf@alter.siamese.dyndns.org>
In-Reply-To
<500C1AA9.4000306@dewire.com>
Robin Rosenberg <robin.rosenberg@dewire.com> writes:
> A note on how JGit would work here. Java has none of the fields
> that constitute statcrc. I guess we would write zero here when
> creating new entries. Git could recognize that when checking status
> and simply assume "clean" unless mtime or st_size says otherwise.

Even though it may not be the end of the world, that is certainly bad. Recording the constituent fields separately without the statcrc microoptimization, thereby not shaving a handful of bytes per the index entry, is not the end of the world either in the same sense, which leads us to question the benefit we would be getting from such a change.

Previous: Robin RosenbergNext: Thomas Rast
Message 6 of 12 in “[GSoC] Designing a faster index format - Progress report week 13”
  1. Thomas GummererJul 16, 2012
  2. Junio C HamanoJul 16, 2012
  3. Thomas GummererJul 17, 2012
  4. Thomas GummererJul 17, 2012
  5. Robin RosenbergJul 22, 2012
  6. Junio C HamanoJul 22, 2012
  7. Thomas RastJul 22, 2012
  8. Junio C HamanoJul 22, 2012
  9. Robin RosenbergJul 23, 2012
  10. Thomas RastJul 24, 2012
  11. Junio C HamanoJul 24, 2012
  12. Thomas RastJul 25, 2012

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.