thefuga/go-collections

optimize kv.Collection.Every functions to return early

开放

#40 创建于 2022年8月2日

 (0 条评论) (0 个反应) (0 位负责人)Go (3 个派生)auto 404
good first issuerefactor

仓库指标

星标
 (26 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Currently, kv.Collection.Every uses kv.Collection.Each to iterate over the collection, which doesn't return early when a non-matching value is encountered, forcing more iterations than necessary.

贡献者指南