thefuga/go-collections

benchmark kv.Collection.Filter

Aberta

#41 aberto em 2 de ago. de 2022

 (0 comentário) (0 reação) (0 responsável)Go (3 forks)auto 404
benchmarkenhancementgood first issuerefactor

Métricas do repositório

Stars
 (26 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador