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

Re: Size of revs file when deleting lines in a big text file - Bug?

From: Norbert Unterberg <nunterberg_at_gmail.com>
Date: 2006-12-09 23:41:43 CET

2006/12/7, Duncan Murdoch <murdoch@stats.uwo.ca>:
> On 12/7/2006 4:34 AM, Rob Hubbard wrote:
> > Hello Martin,
> >
> > The size of a delta is not always relative to the *immediately* previous revision.
> >
> > In order for the implementation to be able to calculate quickly (O(log n) rather than O(n)) the difference between a pair of revisions, the revisions are formed into a kind of binary tree.
> >
> > That is definitely neither a bug nor a design problem.
> > It probably explains the variable revision sizes you're seeing.
>
> It would explain variable revision sizes, but his seem more variable
> than I'd expect. At rev 2, the diff was 15k, but the delta was 470K.
> That's bigger than necessary for just the diff against rev 1, but
> smaller than necessary to hold a diff against rev 0.

Subversion stores the deltas compressed, that might explain the
"smaller than necessary" diff against rev 0.

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 9 23:42:52 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.