From 42d644bb549e8e12da0504bd852133671ad5cf35 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Wed, 3 Jan 2024 08:01:03 -0800 Subject: [PATCH] Remove TODO comment --- attribute/set.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/attribute/set.go b/attribute/set.go index 5e244d9bd08a..6f3f1c859c20 100644 --- a/attribute/set.go +++ b/attribute/set.go @@ -282,9 +282,6 @@ func NewSetWithSortableFiltered(kvs []KeyValue, tmp *Sortable, filter Filter) (S kvs = kvs[position:] if filter != nil { - // TODO (MrAlias): there is a potential optimization here where the - // filtering and uniquing are all done in the same step. For example: - // https://github.com/open-telemetry/opentelemetry-go/blob/228cc878a0f5de19290e8b2035dc4d0019f2a249/attribute/set.go#L266-L300 if div := filteredToFront(kvs, filter); div != 0 { return Set{equivalent: computeDistinct(kvs[div:])}, kvs[:div] }