mirror of https://github.com/tailscale/tailscale/
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>pull/11455/head
parent
d2ccfa4edd
commit
7fe4cbbaf3
Loading…
Reference in New Issue