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

RE: A simple (?) suggestion from a svn fan :)

From: Lele Gaifax <lele_at_seldati.it>
Date: 2003-02-24 21:06:49 CET

>>>>> Sander Striker l'ha dit:

    Sander> Yes, but the size of the diff is increased tremendously
    Sander> because gzip messes it up. Try gzipping one file, make a
    Sander> small change to the file, gzip again and compare. This
    Sander> isn't something we can trivially solve I think.

Yes, this is the same kind of problem that degrades rsync
ability of keeping my debs up-to-date :\

This partially involves gzip, since it does its work by building some
sort of "dictionaries": changing a single byte may cause a completely
different dictionary to be built, and thus the change propagates very
deep in the whole gzipped file.

There is a patch floating around, recently applied to Debian sid
(http://packages.qa.debian.org/g/gzip/news/1.html) that alleviates the
problem by trying to isolate the change within a single "window",
dumping the dictionary more often, with a light penality of the
compression rate.

IMHO, this is just another thing that a well-thought layer similar to
the cvswrappers mechanism would easily solve.

ciao, lele.

-- 
nickname: Lele Gaifax	| Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas	| comincerò ad aver paura di chi mi copia.
email: lele@seldati.it	|		-- Fortunato Depero, 1929.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 24 21:06:41 2003

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