go-collections
go-collections copied to clipboard
benchmark kv.Collection.Filter
We need to benchmark kv.Collection.Filter
, which right now returns a new collection from CollectMap
.
A possible optimization is to allocate the collection early and return it directly.