mirror of https://github.com/tailscale/tailscale/
wgengine/filter: preallocate some hot slices in MatchesFromFilterRules (#4672)
Profiling identified this as a fairly hot path for growing a slice. Given this is only used in control & when a new packet filter is received, this shouldnt be hot in the client.pull/4673/head
parent
c48513b2be
commit
9343967317
Loading…
Reference in New Issue