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

Re: [RFC] : full-text instead of vdelta against empty bytestream

From: David Kimdon <dwhedon_at_debian.org>
Date: 2003-10-21 22:57:20 CEST

On Tue, Oct 21, 2003 at 12:16:04AM -0400, Daniel Berlin wrote:
>
> On Oct 19, 2003, at 6:55 PM, David Kimdon wrote:
>
> >Hi,
> >
> >The included patch removes vdelta calculation when we are sending the
> >full text of the target.
>
> Except that vdelta against an empty bytestream will be quite a bit
> smaller.

true. I did a few tests and the vdelta against empty bytestream
compresses data to about one half the original size. This makes this
optimization only interesting to a rather niche market. Anyone who
wants to lower CPU load on the producer and send more data would like
it, but I'm not sure who would want to double the data sent.

>
> This should probably be controlled by some option, since it's not
> always a win for everyone (it depends on your network connection speed,
> etc)

At this point I'm thinking if it isn't an all around win then it
should probably not happen. I spent some time looking at trying to
get some less CPU intensive compression that the consumer would still
be happy with, but as Greg already pointed out, there isn't an obvious
way of doing that.

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 21 23:18:12 2003

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.