thefuga/go-collections
optimize kv.Collection.Every functions to return early
オープン
#40 opened on 2022/08/02
good first issuerefactor
Repository metrics
- Stars
- (26 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
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.