git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>, git@vger.kernel.org
Subject: Re: Show of hands, how many set USE_NSEC
Date: Fri, 8 Aug 2008 11:00:17 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.1.10.0808081056090.3462@nehalem.linux-foundation.org> (raw)
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

  reply	other threads:[~2008-08-08 18:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-08 16:34 Show of hands, how many set USE_NSEC Shawn O. Pearce
2008-08-08 16:55 ` Johannes Schindelin
2008-08-08 16:57   ` Shawn O. Pearce
2008-08-08 17:42     ` Linus Torvalds
2008-08-08 17:52       ` Shawn O. Pearce
2008-08-08 18:00         ` Linus Torvalds [this message]
2008-08-13 20:01 ` Robin Rosenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.1.10.0808081056090.3462@nehalem.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=spearce@spearce.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).