summaryrefslogtreecommitdiff
path: root/t/t2013-checkout-submodule.sh
diff options
context:
space:
mode:
authorLibravatar Eric Wong <e@80x24.org>2021-07-07 23:10:16 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-07-07 21:27:56 -0700
commit407532f82d3fdfd18d4ec276ddeb359e7c724aa6 (patch)
tree54a7842ae231458de15ed58c5e2f724bd5fc7bff /t/t2013-checkout-submodule.sh
parentspeed up alt_odb_usable() with many alternates (diff)
downloadtgif-407532f82d3fdfd18d4ec276ddeb359e7c724aa6.tar.xz
avoid strlen via strbuf_addstr in link_alt_odb_entry
We can save a few milliseconds (across 100K odbs) by using strbuf_addbuf() instead of strbuf_addstr() by passing `entry' as a strbuf pointer rather than a "const char *". Signed-off-by: Eric Wong <e@80x24.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2013-checkout-submodule.sh')
0 files changed, 0 insertions, 0 deletions