git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Delta compression not so effective

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Mar 1, 2017, 21:08 UTC
Message-ID
<CACPiFCKG7K4jGLHRBA5VrdhLwjqj6KPWS2NYtHjmSdfcRhm+2A@mail.gmail.com>
In-Reply-To
<CA+55aFx7QFqrHw4e72vOdM5z0rw1CCkL2-UX8ej5CLSBWjLNLA@mail.gmail.com>

On Wed, Mar 1, 2017 at 1:30 PM, Linus Torvalds <torvalds@linux-foundation.org> wrote:

> For example, the sorting code thinks that objects with the same name
> across the history are good sources of deltas.

Marius has indicated he is working with jar files. IME jar and war files, which are zipfiles containing Java bytecode, range from not delta-ing in a useful fashion, to pretty good deltas.

Depending on the build process (hi Maven!) there can be enough variance in the build metadata to throw all the compression machinery off.

On a simple Maven-driven project I have at hand, two .war files compiled from the same codebase compressed really well in git. I've also seen projects where storage space is ~101% of the "uncompressed" size.

my 2c,
m
-- 
 martin.langhoff@gmail.com
 - ask interesting questions  ~  http://linkedin.com/in/martinlanghoff
 - don't be distracted        ~  http://github.com/martin-langhoff
   by shiny stuff
Previous: Linus TorvaldsNext: Marius Storm-Olsen
Message 7 of 15 in “Delta compression not so effective”
  1. Marius Storm-OlsenMar 1, 2017
  2. Junio C HamanoMar 1, 2017
  3. Junio C HamanoMar 1, 2017
  4. Linus TorvaldsMar 1, 2017
  5. Marius Storm-OlsenMar 1, 2017
  6. Linus TorvaldsMar 1, 2017
  7. Martin LanghoffMar 1, 2017
  8. Marius Storm-OlsenMar 2, 2017
  9. Linus TorvaldsMar 2, 2017
  10. Marius Storm-OlsenMar 4, 2017
  11. Linus TorvaldsMar 6, 2017
  12. Marius Storm-OlsenMar 6, 2017
  13. Thomas BraunMar 7, 2017
  14. Martin LanghoffMar 1, 2017
  15. Marius Storm-OlsenMar 1, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.