mirror of https://github.com/tailscale/tailscale/
wgengine: predict min.Peers length across calls
The number of peers we have will be pretty stable across time. Allocate roughly the right slice size. This reduces memory usage when there are many peers. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>pull/2687/head
parent
adf696172d
commit
6ef734e493
Loading…
Reference in New Issue