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

Re: svn status: does not notice changed file if timestamp of "new " file is older

From: <cmpilato_at_collab.net>
Date: 2002-11-13 22:46:40 CET

John Barstow <John_Barstow@gfsg.co.nz> writes:

> > source safe offers the following options in the client:
> > 1. compare files by
> > - checksum (default)
>
> What's the cost of computing a checksum?

I believe it's, at a minimum, a read of every byte in the file.

Assuming you already know one of the files' checksum (the text-base),
that would probably be faster than a byte-by-byte comparison of two
files when the files are identical. When the files differ, I guess
the cost differences depends on how close the beginning of the files
the first difference is.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 13 22:49:56 2002

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.