mirror of https://github.com/tailscale/tailscale/
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: I8931b4355a2da4ec0f19739927311cf88711a840awly/appconnector-debug-logs
parent
7fa07f3416
commit
6ddeae7556
Loading…
Reference in New Issue