Subject: Re: [RFC/PATCH 1/4] tag: speed up --contains calculation

From: Clemens Buchacher <[email-masked]>
Date: Thu, 14 Oct 2010 00:56:01 +0200

On Mon, Jul 05, 2010 at 08:33:36AM -0400, Jeff King wrote:
> 
> This sped up "git tag --contains HEAD~200" in the linux-2.6
> repository from:
> 
>   real    0m15.417s
>   user    0m15.197s
>   sys     0m0.220s

FWIW, in the staging tree they have a new tag for almost every day.
My linux repo currently has 677 tags. This same command would
probably take hours. I have not had the patience yet to let it
finish.

With your patch I get this.

$ time git tag --contains HEAD~200
v2.6.36-rc3
v2.6.36-rc4
v2.6.36-rc5

real	0m8.047s
user	0m7.755s
sys	0m0.268s

Clemens