]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/reftable-iterator-reuse'
authorJunio C Hamano <gitster@pobox.com>
Tue, 10 Dec 2024 01:04:57 +0000 (10:04 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Dec 2024 01:04:58 +0000 (10:04 +0900)
commit7041902dfa16b6f4122b9b91e1c8b21a3f58cebd
tree2a1688419325be4932a9c145e8d9978950b37919
parentde9278127e107455fda269d2db280782d77e5eba
parent7cf65e266020f23d31863a1f9508f375be818071
Merge branch 'ps/reftable-iterator-reuse'

Optimize reading random references out of the reftable backend by
allowing reuse of iterator objects.

* ps/reftable-iterator-reuse:
  refs/reftable: reuse iterators when reading refs
  reftable/merged: drain priority queue on reseek
  reftable/stack: add mechanism to notify callers on reload
  refs/reftable: refactor reflog expiry to use reftable backend
  refs/reftable: refactor reading symbolic refs to use reftable backend
  refs/reftable: read references via `struct reftable_backend`
  refs/reftable: figure out hash via `reftable_stack`
  reftable/stack: add accessor for the hash ID
  refs/reftable: handle reloading stacks in the reftable backend
  refs/reftable: encapsulate reftable stack
refs/reftable-backend.c