tailscale/types
James Tucker 7fe4cbbaf3
types/views: optimize slices contains under some conditions (#11449)
In control there are conditions where the leaf functions are not being
optimized away (i.e. At is not inlined), resulting in undesirable time
spent copying during SliceContains. This optimization is likely
irrelevant to simpler code or smaller structures.

Updates #optimization

Signed-off-by: James Tucker <james@tailscale.com>
2024-03-18 16:19:16 -07:00
..
appctype appc,ipn/ipnlocal,types/appctype: implement control provided routes 2024-01-17 14:40:09 -08:00
dnstype all: use reflect.TypeFor now available in Go 1.22 (#11078) 2024-02-08 17:34:22 -08:00
empty all: update copyright and license headers 2023-01-27 15:36:29 -08:00
flagtype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ipproto types/ipproto: import and test string parsing for ipproto 2023-10-11 18:56:33 -07:00
key types/key: remove copy returning array by value 2024-02-26 19:09:12 -08:00
lazy types/lazy: helpers for lazily computed values 2023-02-10 20:59:58 -08:00
logger cmd/derper, types/logger: move log filter to shared package 2024-03-07 11:05:03 -05:00
logid all: use new AppendEncode methods available in Go 1.22 (#11079) 2024-02-08 17:55:03 -08:00
netlogtype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netmap all: use reflect.TypeFor now available in Go 1.22 (#11078) 2024-02-08 17:34:22 -08:00
nettype wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2023-04-15 13:40:15 -07:00
opt ipn: apply tailnet-wide default for auto-updates (#10508) 2023-12-18 14:57:03 -08:00
persist tailcfg: remove UserProfile.Groups 2024-02-11 09:44:11 -08:00
preftype cmd/tailscaled,*: add start of configuration file support 2023-10-16 10:40:27 -07:00
ptr all: update copyright and license headers 2023-01-27 15:36:29 -08:00
structs all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tkatype types/tkatype: add test for MarshaledSignature's JSON format 2023-08-19 19:34:18 -07:00
views types/views: optimize slices contains under some conditions (#11449) 2024-03-18 16:19:16 -07:00