Rob Brandt <bronto@csd-bes.net> wrote on 11/21/2005 02:47:22 PM:
> Quoting Mark Phippard <markp@softlanding.com>:
>
> > 1) Subversion then looks at the file size. If that has changed, then
it
> > considers the file as modified.
> >
> > 2) If the file size is still the same, then Subversion does a byte by
> > byte comparison of the two files to see if they are different.
>
> Is this really true? If I change an "a" to a "b", then the file size
wouldn't
> have changed, and the byte comparison wouldn't be done.
No, read what I wrote closer. The byte comparison WOULD be done because
the file date/time has changed. The point was that if the file size has
changed then Subversion can very quickly just say ahh yes, this file has
been modified. In general the byte comparison is something you do not
want to have happen if you can avoid it because it slows down all of the
status operations while they do the byte by byte compares. Of course the
compares do stop on the first difference, but if the files are really the
same, and large, it does hurt performance.
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 21 21:10:00 2005