From: Junio C Hamano Date: Fri, 30 Sep 2011 03:44:40 GMT Subject: Re: [PATCH v3] refs: Use binary search to lookup refs faster Message-ID: <7vwrcqpuc7.fsf@alter.siamese.dyndns.org> In-Reply-To: <201109291913.34196.mfick@codeaurora.org> Martin Fick writes: > This works for me, however unfortunately, I cannot find any > scenarios where it improves anything over the previous fix > by René. :( Nevertheless, I would appreciate it if you can try this _without_ René's patch. This attempts to make resolve_ref() cheap for _any_ caller. René's patch avoids calling it in one specific callchain. They address different issues. René's patch is probably an independently good change (I haven't thought about the interactions with the topics in flight and its implications on the future direction), but would not help other/new callers that make many calls to resolve_ref().