From: Junio C Hamano Date: Thu, 21 Mar 2024 21:55:13 +0000 (-0700) Subject: Merge branch 'ps/reftable-reflog-iteration-perf' X-Git-Tag: v2.45.0-rc0~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8c1cda9a952d4ffce87976ef72f5ad6cc71c519;p=thirdparty%2Fgit.git Merge branch 'ps/reftable-reflog-iteration-perf' The code to iterate over reflogs in the reftable has been optimized to reduce memory allocation and deallocation. Reviewed-by: Josh Steadmon cf. * 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 --- e8c1cda9a952d4ffce87976ef72f5ad6cc71c519