Re: Performance issue of 'git branch'
- From
- david@lang.hm <david@lang.hm>
- Date
- Jul 24, 2009, 22:46 UTC
- Message-ID
- <alpine.DEB.1.10.0907241545340.28013@asgard.lang.hm>
- In-Reply-To
- <alpine.LFD.2.01.0907241529420.3960@localhost.localdomain>
On Fri, 24 Jul 2009, Linus Torvalds wrote:
Show 7 quoted lines
> On Fri, 24 Jul 2009, david@lang.hm wrote: >> >> what does the performance look like if you just do a static compile instead? > > I don't even know - I don't have a static version of curl. I could install > one, of course, but since I don't think that's the solution anyway, I'm > not going to bother.
I wasn't thinking a static version of curl, I was thinking a static version of the git binaries. see how fast things could be if no startup linking was nessasary.
David Lang
Show 8 quoted lines
> The real solution really is to not have curl support in the main binary. > > One option might be to make _all_ the transport code be outside of the > core binary, or course. That's a fairly simple but somewhat sad solution > (ie make all of push/pull/fetch/clone/ls-remote/etc be external binaries) > > Linus >