summaryrefslogtreecommitdiff
path: root/t/t9300-fast-import.sh
diff options
context:
space:
mode:
authorLibravatar Abhishek Kumar <abhishekkumar8222@gmail.com>2020-06-17 14:44:11 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-06-17 14:37:52 -0700
commitc752ad09c4ea479e8d54d08637cc0e5709723208 (patch)
treeaf0f1faa8d6e5149dec7d008a1370483c09ca151 /t/t9300-fast-import.sh
parentcommit: move members graph_pos, generation to a slab (diff)
downloadtgif-c752ad09c4ea479e8d54d08637cc0e5709723208.tar.xz
commit-graph: minimize commit_graph_data_slab access
In an earlier patch, multiple struct acccesses to `graph_pos` and `generation` were auto-converted to multiple method calls. Since the values are fixed and commit-slab access costly, we would be better off with storing the values as a local variable and reusing it. Signed-off-by: Abhishek Kumar <abhishekkumar8222@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9300-fast-import.sh')
0 files changed, 0 insertions, 0 deletions