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

Re: Be more careful about zlib return values

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Mar 21, 2007, 15:29 UTC
Message-ID
<Pine.LNX.4.64.0703210827591.6730@woody.linux-foundation.org>
In-Reply-To
<7vodmn2eya.fsf@assigned-by-dhcp.cox.net>
On Wed, 21 Mar 2007, Junio C Hamano wrote:
> 
> I am observing a very curious performance regression with this
> patch.  I do not see anything obviously wrong correctness-wise
> nor performance-wise with it.

Ok, the test you are doing won't call the write function at all, so the performance effect you see is almost certainly due to [un]lucky I$ placement. It happens..

		Linus
Previous: Junio C Hamano
Message 3 of 3 in “Be more careful about zlib return values”
  1. Linus TorvaldsMar 20, 2007
  2. Junio C HamanoMar 21, 2007
  3. Linus TorvaldsMar 21, 2007

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.