summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorAndrew Dunham <andrew@du.nham.ca>2025-01-09 16:55:07 -0500
committerAndrew Dunham <andrew@du.nham.ca>2025-01-09 17:10:36 -0500
commit6ddeae755695de850c56c788cba10bd4736934bb (patch)
treed592f27ef13fe826a89d3972b3489fc1407f7fc6 /control/controlhttp/controlhttpserver/controlhttpserver.go
parent7fa07f34169b11a02e44165fd875e48b2e2e211d (diff)
downloadtailscale-6ddeae755695de850c56c788cba10bd4736934bb.tar.xz
tailscale-6ddeae755695de850c56c788cba10bd4736934bb.zip
types/views: optimize SliceEqualAnyOrderFunc for small slices
If the total number of differences is less than a small amount, just do the dumb quadratic thing and compare every single object instead of allocating a map. Updates tailscale/corp#25479 Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: I8931b4355a2da4ec0f19739927311cf88711a840
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions