You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/control
Brad Fitzpatrick b104688e04 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>
2 years ago
..
controlbase all: cleanup unused code, part 2 (#10670) 2 years ago
controlclient ipn/ipnlocal, types/netmap: replace hasCapability with set lookup on NetworkMap 2 years ago
controlhttp net/wsconn: accept a remote addr string and plumb it through 2 years ago
controlknobs all: use reflect.TypeFor now available in Go 1.22 (#11078) 2 years ago