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

Re: Show of hands, how many set USE_NSEC

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Aug 8, 2008, 18:00 UTC
Message-ID
<alpine.LFD.1.10.0808081056090.3462@nehalem.linux-foundation.org>
In-Reply-To
<20080808175247.GH9152@spearce.org>
On Fri, 8 Aug 2008, Shawn O. Pearce wrote:
> 
> That single file however does not need to be structured internallyy
> the way it is.
Ok, at that point I certainly agree.  

As long as we're talking about a single flat file, I don't think it would be all that painful to have a totally new index format. The original format was (obviously) designed to be just mmap'ed and turned into a C array with no real parsing.

But once we started building a separate index data structure with internal structure _anyway_ (for the extended in-memory flags and the filename hashing), a lot of the reasons for the original format kind of went away.

			Linus
Previous: Shawn O. PearceNext: Robin Rosenberg
Message 6 of 7 in “Show of hands, how many set USE_NSEC”
  1. Shawn O. PearceAug 8, 2008
  2. Johannes SchindelinAug 8, 2008
  3. Shawn O. PearceAug 8, 2008
  4. Linus TorvaldsAug 8, 2008
  5. Shawn O. PearceAug 8, 2008
  6. Linus TorvaldsAug 8, 2008
  7. Robin RosenbergAug 13, 2008

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.