pr-935/adlternative/ref-filter-opt-reuse-buf-v1
tagged this
19 Apr 11:28
* Firstly, inlining show_ref_array_item(). * Secondly, git for-each-ref reuse final buf for all refs output, the performance is slightly improved, this optimization is also applied to git tag -l and git branch -l. Thanks. ZheNing Hu (2): [GSOC] ref-filter: get rid of show_ref_array_item [GSOC] ref-filter: reuse output buffer builtin/branch.c | 9 +++++---- builtin/for-each-ref.c | 14 ++++++++++++-- builtin/tag.c | 14 ++++++++++++-- ref-filter.c | 25 ++++++++++--------------- ref-filter.h | 2 -- 5 files changed, 39 insertions(+), 25 deletions(-) base-commit: 2e36527f23b7f6ae15e6f21ac3b08bf3fed6ee48 Submitted-As: https://lore.kernel.org/git/pull.935.git.1618831726.gitgitgadget@gmail.com
Assets 2
-
2021-04-19T11:28:46Z -
2021-04-19T11:28:46Z - Loading