diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-03-21 14:55:13 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-21 14:55:13 -0700 |
commit | e8c1cda9a952d4ffce87976ef72f5ad6cc71c519 (patch) | |
tree | 717ff492aa36756075f55d241b861e4ffd22a8b6 /commit.c | |
parent | dc97afdcb93ca683bf73b4ae2ff028c161206617 (diff) | |
parent | fcacc2b161b095c99dfd4e0b05dcc1ed8ca80a62 (diff) |
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 <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
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions