[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] The blame speedup

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-05-31 16:50:41 CEST

On Mon, 2004-05-31 at 04:50, Peter N. Lundblad wrote:
> I've considered this too. But then both the RA layer and the client layer
> will write its own version of the temporary file. Networked RA layers need
> to keep the fulltext to be able to apply the next text delta. Or, how
> would the RA layer get to the file created by the client through the
> svn_stream_t?

Point taken.

Perhaps it would be better to hand delta windows to the caller, as
originally theorized. As has been pointed out, some day it may be
possible to do something clever to calculate diffs from delta windows
(although that sounds awfully hard and not very rewarding), and
generally our RA interfaces match pretty closely the kind of data being
passed over the wire, even over HTTP.

A helper function in libsvn_client/blame.c can translate the delta
windows to temporary files.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 31 16:51:02 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.