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

Re: git-fetching from a big repository is slow

From
Shawn Pearce <spearce@spearce.org>
Date
Dec 14, 2006, 22:38 UTC
Message-ID
<20061214223813.GC26202@spearce.org>
In-Reply-To
<200612142212.kBEMCVeu032626@laptop13.inf.utfsm.cl>
"Horst H. von Brand" <vonbrand@inf.utfsm.cl> wrote:
Show 9 quoted lines
> Shawn Pearce <spearce@spearce.org> wrote:
> 
> [...]
> 
> > And yet I get good delta compression on a number of ZIP formatted
> > files which don't get good additional zlib compression (<3%).
> 
> .zip is something like a tar of the compressed files, if the files inside
> the archive don't change, the deltas will be small.

Yes, especially when the new zip is made using the exact same software with the same parameters, so the resulting compressed file stream is identical for files whose content has not changed. :-)

Since this is actually a JAR full of Java classes which have been recompiled, its even more interesting that javac produced an identical class file given the same input. I've seen times where it doesn't thanks to the automatic serialVersionUID field being somewhat randomly generated.

Previous: Horst H. von BrandNext: Pazu
Message 9 of 11 in “Re: git-fetching from a big repository is slow”
  1. Shawn PearceDec 14, 2006
  2. Geert BoschDec 14, 2006
  3. Johannes SchindelinDec 14, 2006
  4. Shawn PearceDec 14, 2006
  5. Johannes SchindelinDec 15, 2006
  6. Shawn PearceDec 15, 2006
  7. Nicolas PitreDec 15, 2006
  8. Horst H. von BrandDec 14, 2006
  9. Shawn PearceDec 14, 2006
  10. PazuDec 15, 2006
  11. Robin RosenbergDec 16, 2006

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.