From: Petr Baudis Date: Mon, 07 Nov 2005 09:45:55 GMT Subject: Re: git binary directory? Message-ID: <20051107094555.GS1431@pasky.or.cz> In-Reply-To: Dear diary, on Mon, Nov 07, 2005 at 01:54:55AM CET, I got a letter where Linus Torvalds told me that... > On Mon, 7 Nov 2005, Petr Baudis wrote: > > > > I want to avoid extra fork()s and exec()s. They seem to routinely matter > > in orders of magnitude of speed in tight loops. > > Yes. The more I think about it, the less I like the separate binary > directory after all. The "git cmd" format is great for high-level > commands, but we've always done "git-diff-tree" and "git-rev-list" etc > without the "git cmd" indirection. > > The downsides of a separate binary directory appear to be bigger than the > upside.. Well, _one_ fork per user invocation (subsequent invocations wouldn't need it, I already "cache" this kind of stuff in the environment) of a Cogito command (to get the path to the gitdir) is not such a big deal, I think. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.