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

Re: Using md5sum for svn status

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-04-27 03:36:07 CEST

> To discover that there is some difference between two files, you must
> read, on average, halfway through both files -- once you encounter a
> mismatch, you can stop. (This why Unix 'diff' and 'cmp' are not the
> same thing.)

Your answer seems to assume that once we reach this case that finding
differences is what we would expect. Is that really the case? If the
timestamps differ, but the sizes are the same I would expect that more
often than not something modified the timestamp but the files are still the
same.

In looking for ways to improve the performance we ought to decide what we
think the "normal case" will be, even if it is only 51% of the time and
then try to use the best algorithm for that case.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 27 03:37:12 2005

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.