Re: Can I have this, pretty please?
- From
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
- Date
- Aug 12, 2007, 19:51 UTC
- Message-ID
- <20070812195126.GA17914@informatik.uni-freiburg.de>
- In-Reply-To
- <854pj4o8k5.fsf@lola.goethe.zz>
David Kastrup wrote:
Show 18 quoted lines
> Linus Torvalds <torvalds@linux-foundation.org> writes: > > On Sun, 12 Aug 2007, Linus Torvalds wrote: > >> > >> A newsreader is mis-designed for all the same reasons SVN is misdesigned: > >> it sees the messages (commits) as a _tree_. > > > > Side note: the lack of this bug is what makes showing large > > histories graphically be expensive in the first place. > > Not really. > > dak@lola:/home/tmp/emacs$ time git-rev-list --parents --topo-order --all>/dev/null > > real 0m9.042s > user 0m8.801s > sys 0m0.168s > > This does not even start to _think_ of swapping.
rev-list doesn't try to draw a line from each commit to its parents. That's the really intensive part. So when gitk reads
d56871cb0e6ceeca8e5435ff95409d78bed014f0 a046fe0cb8697bc97993b2e609688ff5e89e3e9
it must remember this line at least until it sees a line starting with a046fe0cb8697bc97993b2e609688ff5e89e3e9.
Best regards Uwe
-- Uwe Kleine-König dd if=/proc/self/exe bs=1 skip=1 count=3 2>/dev/null