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
Jeff King <peff@peff.net>
Date
Aug 5, 2016, 07:45 UTC
Message-ID
<20160805074552.6ow4h3lwdy7yxqva@sigill.intra.peff.net>
In-Reply-To
<20160804233435.GA31403@dcvr>
On Thu, Aug 04, 2016 at 11:34:35PM +0000, Eric Wong wrote:
Show 18 quoted lines
> Junio C Hamano <gitster@pobox.com> wrote:
> > [Graduated to "master"]
> 
> > * 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?

I just introduced another doubly-linked list in [1]. It adds some MRU features on top of the list, but it could in theory be built on top of a generic doubly-linked list.

It's also possible the delta-base-cache stuff could build on top of that same code, but I didn't look closely at it.

-Peff
[1] http://public-inbox.org/git/20160729040659.GC22408@sigill.intra.peff.net/
Previous: Junio C HamanoNext: Eric Wong
Message 11 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.