thefuga/go-collections

benchmark kv.Collection.Filter

Open

#41 opened on Aug 2, 2022

 (0 comments) (0 reactions) (0 assignees)Go (3 forks)auto 404
benchmarkenhancementgood first issuerefactor

Repository metrics

Stars
 (26 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide