From: Linus Torvalds Date: Fri, 08 Aug 2008 18:00:17 GMT Subject: Re: Show of hands, how many set USE_NSEC Message-ID: 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