diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-11-02 22:26:50 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-11-06 23:16:48 +0100 |
commit | e727d6670479a0ed9dc746c96fdf0a97d36e090e (patch) | |
tree | db7e79aae31e09f054b57e853efbd74acc4c3bad /filters/calendar | |
parent | df0e7f7f9e484e2a41162cdf0e0b8725007e3b72 (diff) | |
download | aerc-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 'filters/calendar')
0 files changed, 0 insertions, 0 deletions