Andrew Dunham 6ddeae7556 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
2025-01-09 17:10:36 -05:00
..
2024-12-11 10:55:33 -08:00
2024-04-16 15:32:38 -07:00
2024-10-07 15:43:22 -05:00
2024-04-16 15:32:38 -07:00