Peter N. Lundblad wrote:
> On Mon, 1 Aug 2005, Philip Martin wrote:
>
>>Branko ?ibej <brane@xbc.nu> writes:
>>
>>>We put emtpy-file in there because IIRC it was shown that creating it
>>>for every diff did have a significant impact on speed. It might be
>>>that "it was shown" incorrectly;
>>
>>I put it in, it just seemed the natural thing to do when I was writing
>>the diff code. The reduced IO seemed important at the time because I
>>wasn't aware quite how much other IO went on in libsvn_wc.
>
> If I'm changing this, I'm planning to create one empty file per diff (and
Peter, it's not clear what you mean by "per diff". The command-line client
svn_cl__diff() calls svn_client_diff[_peg]3() once per explicit target given on
the command line, and then that calls various functions, some of them
recursive, to walk directory trees, and then finally the svn_diff library or an
external diff program is called once per versioned file. Which level of "diff"
did you mean?
> only if it is needed, possibly). Can that I/O really be measurable? That
> might be what your saying above; just pointing out that I'm not going to
> create an empty-file per added/deleted file if that wasn't obvious.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 2 23:24:27 2005