diff options
author | 2019-05-27 09:14:32 +0000 | |
---|---|---|
committer | 2019-05-27 09:14:32 +0000 | |
commit | 7876190c7ffd6b5a928286ea752634f8e7ac40ac (patch) | |
tree | 136ea10c571ec56afc65095db4235aee655ae323 /usr.bin/tmux/cmd-bind-key.c | |
parent | fix core dump reported by Adam Thomson; ok tb@ (diff) | |
download | wireguard-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