Re: [PATCH 19/19] gitweb: Remove creating directory for temporary files
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Aug 27, 2006, 00:38 UTC
- Message-ID
- <8fe92b430608261738t16cd861brb78c8e78c2c58835@mail.gmail.com>
- In-Reply-To
- <7vwt8vyqij.fsf@assigned-by-dhcp.cox.net>
On 8/27/06, Junio C Hamano <junkio@cox.net> wrote:
Show 16 quoted lines
> Junio C Hamano <junkio@cox.net> writes: > >> "get-following" is inherently a very expensive operation, so >> I would suggest not doing this. It seems that nobody uses >> these two subs yet, so probably it is better to yank them >> before they cause damages. > > A bit of clarification. gitk has preceding/following but unlike > gitweb it has three things that go in favor of having it. > > - gitk can afford to use as much CPU as the user throw at it, > since it runs locally. > > - gitk finds preceding/following in the background so the user > does not have to wait, and it is done while it gets the list > of commits which it needs to do anyway.
I wonder if we could AJAXize gitweb, and have _browser_ compute preceding/following tags using some JavaScript...
That would be client side, could be in background, and could be cached. :-)
-- Jakub Narebski ShadeHawk on #git