summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorJames Tucker <james@tailscale.com>2024-03-18 16:19:16 -0700
committerGitHub <noreply@github.com>2024-03-18 16:19:16 -0700
commit7fe4cbbaf305b0708217dfe636a8de59235495ba (patch)
treeb64f22773a27bfbe93606612e52841b7f760656f /control/controlknobs/controlknobs.go
parentd2ccfa4eddd45d2fd2563b82146f50ad92539b50 (diff)
downloadtailscale-7fe4cbbaf305b0708217dfe636a8de59235495ba.tar.xz
tailscale-7fe4cbbaf305b0708217dfe636a8de59235495ba.zip
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>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions