[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: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-12-10 00:04:48 CET

On 12/9/2006 5:41 PM, Norbert Unterberg wrote:
> 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.

Not really. The diff from version 0 to 1 was 3279K.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 10 00:05:48 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.