aboutsummaryrefslogtreecommitdiffstats
path: root/go.sum
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-11-02 22:26:50 +0100
committerRobin Jarry <robin@jarry.cc>2022-11-06 23:16:48 +0100
commite727d6670479a0ed9dc746c96fdf0a97d36e090e (patch)
treedb7e79aae31e09f054b57e853efbd74acc4c3bad /go.sum
parentdf0e7f7f9e484e2a41162cdf0e0b8725007e3b72 (diff)
downloadaerc-e727d6670479a0ed9dc746c96fdf0a97d36e090e.tar.gz
threadbuilder: better scaling for thread insertion
Improve thread builder's performance scaling by inserting a new top-level thread at the beginning of the linked list which is an O(1) operation. The order of the top-level threads does not matter here since they will be sorted later anyways. Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions