summaryrefslogtreecommitdiff
path: root/git-gui/lib/diff.tcl
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-07-16 18:59:05 +0200
committerJunio C Hamano <gitster@pobox.com>2022-07-17 15:20:39 -0700
commitc0fb5774a6435a46931ec58ac27a5623efba9449 (patch)
treebf25a509274725a5b41756f02321bb98402599b8 /git-gui/lib/diff.tcl
parent47c30f7daa0858953043cdd2f9dfec75aeb0759d (diff)
commit: use DEFINE_LIST_SORT
Use DEFINE_LIST_SORT to build a typed sort function for commit_list entries instead of calling llist_mergesort(). This gets rid of the next pointer accessor functions and their calling overhead at the cost of a slightly increased object text size. Before: __TEXT __DATA __OBJC others dec hex 18795 92 0 104654 123541 1e295 commit.o With this patch: __TEXT __DATA __OBJC others dec hex 18963 92 0 106094 125149 1e8dd commit.o Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions