]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/reftable-reflog-iteration-perf'
authorJunio C Hamano <gitster@pobox.com>
Thu, 21 Mar 2024 21:55:13 +0000 (14:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Mar 2024 21:55:13 +0000 (14:55 -0700)
The code to iterate over reflogs in the reftable has been optimized
to reduce memory allocation and deallocation.

Reviewed-by: Josh Steadmon <steadmon@google.com>
cf. <Ze9eX-aaWoVaqsPP@google.com>

* ps/reftable-reflog-iteration-perf:
  refs/reftable: track last log record name via strbuf
  reftable/record: use scratch buffer when decoding records
  reftable/record: reuse message when decoding log records
  reftable/record: reuse refnames when decoding log records
  reftable/record: avoid copying author info
  reftable/record: convert old and new object IDs to arrays
  refs/reftable: reload correct stack when creating reflog iter

1  2 
refs/reftable-backend.c
reftable/block.c
reftable/record.c

Simple merge
Simple merge
Simple merge