Re: RFC: New diff-delta.c implementation

From: Junio C Hamano <junkio@cox.net>
Date: 2006-04-22 21:13:53
Geert Bosch <bosch@adacore.com> writes:

> BTW. It's a shame that we don't reuse the index when comparing one
> source
>      against multiple targets. Creating the index takes about 70% of
> the time.

(Please line-wrap sensibly).

I think we tried that with Nico/Davide's delta already, and IIRC
we had mixed results.

It really depends on how big an index for a source is.  Keep in
mind that we keep --window (default=10) of the source text
in-core, and you are suggesting to keep index in-core as well,
so we need to take memory pressure into account.

Having said that, the initial number you posted suggests the
algorithm is very fast, in which case reusing index may not
matter.  We will see ;-).


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Apr 23 06:28:35 2006

This archive was generated by hypermail 2.1.8 : 2006-04-23 06:28:52 EST