summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2024-03-22 14:33:41 -0700
committerBrad Fitzpatrick <brad@danga.com>2024-03-22 15:30:46 -0700
commitb104688e04797162fb854eb42158f983d05dc6cc (patch)
tree0a5fa2ed6739b0704a8a87e893fc2f4332aa9e82 /control/controlknobs/controlknobs.go
parent8c88853db6a3a7b1c3b290104d558ba84c7ef034 (diff)
downloadtailscale-b104688e04797162fb854eb42158f983d05dc6cc.tar.xz
tailscale-b104688e04797162fb854eb42158f983d05dc6cc.zip
ipn/ipnlocal, types/netmap: replace hasCapability with set lookup on NetworkMap
When node attributes were super rare, the O(n) slice scans looking for node attributes was more acceptable. But now more code and more users are using increasingly more node attributes. Time to make it a map. Noticed while working on tailscale/corp#17879 Updates #cleanup Change-Id: Ic17c80341f418421002fbceb47490729048756d2 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions