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

Re: What's cooking in git.git (topics)

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Apr 29, 2007, 18:45 UTC
Message-ID
<alpine.LFD.0.98.0704291142510.9964@woody.linux-foundation.org>
In-Reply-To
<7v3b2jdo9h.fsf@assigned-by-dhcp.cox.net>
On Sun, 29 Apr 2007, Junio C Hamano wrote:
>
> * lt/objalloc (Mon Apr 16 22:13:09 2007 -0700) 1 commit
>  - Make the object lookup hash use a "object index" instead of a
>    pointer
I think you should just drop this. 

You merged the two patches that made this possible, and the third in the series isn't really worth it. I can re-create it at will (maybe better) now that the core object allocations are all cleaned up, and that patch simply didn't give enough of an advantage to be worth it.

Maybe inlining the object index -> ptr conversion would have solved the performance regression, but it migth also be something more fundamental, like the potential extra cache miss in the converstion part (when looking up the allocation block).

So it was interesting to try, but I don't think it's worth carrying around considering the results.

		Linus
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 5 in “What's cooking in git.git (topics)”
  1. Junio C HamanoApr 27, 2007
  2. Junio C HamanoApr 29, 2007
  3. Linus TorvaldsApr 29, 2007
  4. Junio C HamanoApr 30, 2007
  5. Junio C HamanoMay 6, 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.