Re: git binary directory?
- From
Petr Baudis <pasky@suse.cz>
- Date
- Nov 7, 2005, 09:45 UTC
- Message-ID
- <20051107094555.GS1431@pasky.or.cz>
- In-Reply-To
- <Pine.LNX.4.64.0511061653380.3316@g5.osdl.org>
Dear diary, on Mon, Nov 07, 2005 at 01:54:55AM CET, I got a letter where Linus Torvalds <torvalds@osdl.org> told me that...
Show 12 quoted lines
> 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.