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

Re: [PATCH] 3% tighter packs for free

From
Junio C Hamano <junkio@cox.net>
Date
Mar 18, 2006, 19:24 UTC
Message-ID
<7vhd5vwo7e.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0603181315060.4889@localhost.localdomain>
Nicolas Pitre <nico@cam.org> writes:
> Tried that long ago.  As BLK_SIZE is increased the adler32 cost, which 
> has to be computed for every offset in the target buffer, increases 
> accordingly.  So you end up with both worse compression and more CPU 
> usage.

Ah, I was not paying enough attention. I did not realize destination scanning was done for every byte.

Previous: Nicolas Pitre
Message 4 of 4 in “3% tighter packs for free”
  1. 3% tighter packs for freeNicolas Pitre, Mar 18, 2006
  2. Junio C HamanoMar 18, 2006
  3. Nicolas PitreMar 18, 2006
  4. Junio C HamanoMar 18, 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.