mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +02:00
deddec38ac
* Optimize Set.Filter for no filtered case When all elements of the Set are kept during a call to Filter, do not allocate a new Set and the dropped attributes slice. Instead, return the immutable Set and nil. To achieve this the functionality of filterSet is broken down into a more generic filteredToFront function. * Apply suggestions from code review Co-authored-by: Robert Pająk <pellared@hotmail.com> * Rename run to benchFn based on review feedback --------- Co-authored-by: Robert Pająk <pellared@hotmail.com> |
||
---|---|---|
.. | ||
benchmark_test.go | ||
doc.go | ||
encoder.go | ||
filter_test.go | ||
filter.go | ||
iterator_test.go | ||
iterator.go | ||
key_test.go | ||
key.go | ||
kv_test.go | ||
kv.go | ||
set_test.go | ||
set.go | ||
type_string.go | ||
value_test.go | ||
value.go |