On Tue, Jul 19, 2011 at 10:13:54AM +0000, chris wrote: > <larsh@...> writes: > > On Tue, Jul 19, 2011 at 09:35:42AM +0000, chris wrote: > > > Should guess_defbranch() be called here instead of hard-coding "master"? > > > > I don't think so, due to performance concerns (as explained earlier in this > > thread). It's a compromise, favoring performance over correctness. > > Well, it sounds like premature optimization to me.
That may be true. > I wonder how much > performance impact that would really have, and if cgit's caching support > doesn't > negate any potential issue on busy servers anyway. I'll try to do some benchmarking with different setups and post some numbers. -- larsh _______________________________________________ cgit mailing list [email protected] http://hjemli.net/mailman/listinfo/cgit
