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

Re: What's cooking in git.git (Aug 2016, #02; Thu, 4)

From
EWEric Wong <e@80x24.org>
Date
Aug 4, 2016, 23:34 UTC
Message-ID
<20160804233435.GA31403@dcvr>
In-Reply-To
<xmqqshukyxqw.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> wrote:
> [Graduated to "master"]
Show 5 quoted lines
> * ew/http-walker (2016-07-18) 4 commits
>   (merged to 'next' on 2016-07-18 at a430a97)
>  + list: avoid incompatibility with *BSD sys/queue.h
>   (merged to 'next' on 2016-07-13 at 8585c03)
>  + http-walker: reduce O(n) ops with doubly-linked list

Yay! This finally introduces the Linux kernel linked list into git. I'm not sure if it's worth the effort to introduce cleanup commits to start using it in places where we already have doubly-linked list implementations:

(+Cc Nicolas and Lukas)
* sha1_file.c delta_base_cache_lru is open codes this
* builtin/pack-redundant.c could probably be adapted, too
 ... any more?

And there may be other places where we have performance problems walking singly-linked lists and would be better off on a doubly-linked one (or even just readability ones).

<snip>
>  cf. <alpine.DEB.2.20.1607061016330.6426@virtualbox>
>  cf. <CACsJy8AiER_=5aJ65r+GPCE_nXbrPTAMKJi=FuJgT8zzV2-NFw@mail.gmail.com>

It might be useful for new-to-mailing-lists folks to note that these are Message-IDs references which can be looked up at the following locations:

	mid.mail-archive.com/%s
	marc.info/?i=%s
	public-inbox.org/git/%s/
	mid.gmane.org/%s		# currently down
ref: https://en.wikipedia.org/wiki/Message-ID
Previous: Junio C HamanoNext: Junio C Hamano
Message 9 of 17 in “What's cooking in git.git (Aug 2016, #02; Thu, 4)”
  1. Junio C HamanoAug 4, 2016
  2. Mike HommeyAug 4, 2016
  3. Junio C HamanoAug 4, 2016
  4. Mike HommeyAug 4, 2016
  5. Torsten BögershausenAug 8, 2016
  6. Mike HommeyAug 8, 2016
  7. Philip OakleyAug 4, 2016
  8. Junio C HamanoAug 4, 2016
  9. Eric WongAug 4, 2016
  10. Junio C HamanoAug 5, 2016
  11. Jeff KingAug 5, 2016
  12. Eric WongAug 5, 2016
  13. Jeff KingAug 5, 2016
  14. Eric WongAug 5, 2016
  15. Jeff KingAug 5, 2016
  16. Eric WongAug 5, 2016
  17. Johannes SchindelinAug 7, 2016

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.