You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine/filter
Tom 9343967317
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.
2 years ago
..
filter.go all: add arbitrary capability support 2 years ago
filter_clone.go cmd/cloner,util/codegen: refactor cloner internals to allow reuse 2 years ago
filter_test.go wgengine/filter: preallocate some hot slices in MatchesFromFilterRules (#4672) 2 years ago
match.go cmd/cloner,util/codegen: refactor cloner internals to allow reuse 2 years ago
tailcfg.go wgengine/filter: preallocate some hot slices in MatchesFromFilterRules (#4672) 2 years ago