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

Re: Wishlist for enhancements

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-04-01 21:21:22 CEST

On Thu, 2004-04-01 at 13:11, SteveKing wrote:

> - Also, svn_client_status() does a complete diff (if the filedates don't
> match) to check if a file really changed.

Actually, no, it only does this as a last resort. First it looks at
timestamps, then it looks at filesizes. If *both* of those tests are
inconclusive, it resorts to brute-force byte-for-byte comparison.

This brute-force comparison shouldn't happen very often at all. When it
does, it's a bad thing. Very, very slow.

> So I'd like another entry in
> the status struct indicating the number of bytes or lines which have
> changed.

...so it makes no sense to add this field to the status struct. We
absolutely don't want to force brute-force comparisons!

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 1 21:23:03 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.