Re: A look at some alternative PACK file encodings
- From
- David Lang <dlang@digitalinsight.com>
- Date
- Sep 7, 2006, 00:06 UTC
- Message-ID
- <Pine.LNX.4.63.0609061705160.4398@qynat.qvtvafvgr.pbz>
- In-Reply-To
- <9e4733910609061710x4fb48d86o58b9c5ec8e527135@mail.gmail.com>
On Wed, 6 Sep 2006, Jon Smirl wrote:
Show 11 quoted lines
> On 9/6/06, Linus Torvalds <torvalds@osdl.org> wrote: >> Is there any way to get zlib to just generate a suggested dictionary from >> a given set of input? > > No, I asked the author. Apparently it is a hard problem, there have > been research papers written about it. > > Shawn has a Perl script that makes a guess at a dictionary. That > scripts gets 4-7% improvement. The number one thing that ended up in > the Mozilla dictionary was the five different license versions that > had each been copied into 50,000 files over time.
for the mozilla project it may make sense to feed all these license files from all over as one string to git, as an exception to your normal process of going file by file. if you can do this then the delta functionality should reduce these files to practicaly nothing.
David Lang