Re: [RFC/PATCH v2] fetch: Speed up fetch by rewriting find_non_local_tags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 17 Sep 2009, Julian Phillips wrote:

On Wed, 16 Sep 2009, Junio C Hamano wrote:

 I am just curious.  How would a "just one item lookbehind" code perform
 compared to this one?

The code you wrote ealier is almost the same as the string_list version, ~ 4.3s, so very marginally slower but a lot less code change. Personally I'd be happy with any of the three, so long as I don't have to wait 30s to find out that nothing's happened at $dayjob anymore ;)

FWIW: I've Just modified my v2 patch to make use of the requirement that the peeled ref immediately follow the base ref, and it's now ~4.1s and should use less memory than the original too. I won't bother posting it unless someone thinks it worth it though.

--
Julian

 ---
Taxes, n.:
	Of life's two certainties, the only one for which you can get
	an extension.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]