summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-bind-key.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2019-05-27 09:14:32 +0000
committerclaudio <claudio@openbsd.org>2019-05-27 09:14:32 +0000
commit7876190c7ffd6b5a928286ea752634f8e7ac40ac (patch)
tree136ea10c571ec56afc65095db4235aee655ae323 /usr.bin/tmux/cmd-bind-key.c
parentfix core dump reported by Adam Thomson; ok tb@ (diff)
downloadwireguard-openbsd-7876190c7ffd6b5a928286ea752634f8e7ac40ac.tar.xz
wireguard-openbsd-7876190c7ffd6b5a928286ea752634f8e7ac40ac.zip
Switch the peer TAILQ to a RB tree indexed by the peer id. This way
getpeerbyid() gets a lot quicker at finding the peer when many peers are configured. In my test case the difference is around 20% runtime. OK denis@
Diffstat (limited to 'usr.bin/tmux/cmd-bind-key.c')
0 files changed, 0 insertions, 0 deletions