Re: Libification project (SoC)
- From
Petr Baudis <pasky@suse.cz>
- Date
- Mar 19, 2007, 12:52 UTC
- Message-ID
- <20070319125233.GT18276@pasky.or.cz>
- In-Reply-To
- <Pine.LNX.4.63.0703191329220.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Mon, Mar 19, 2007 at 01:37:18PM CET, Johannes Schindelin wrote:
> Yes, you could write a program which can compare objects from several > repos, but that is easy in fact: just set GIT_ALTERNATE_OBJECT_DIRECTORIES > and you're done. Without changing the core of Git at all!
But you'll also need to access refs.
And the key point here is reentrance - handling multiple repositories at once is only part of this, actually probably the much bigger customer would be multi-threaded programs. And easier creation of reusable components and other libraries, and so on...
I believe the performance impact will be most likely absolutely negligible. Of course we have no hard data, but I doubt it's this where most of the CPU crunching is.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Ever try. Ever fail. No matter. // Try again. Fail again. Fail better. -- Samuel Beckett