thefuga/go-collections
optimize kv.Collection.Every functions to return early
Aperta
#40 aperta il 2 ago 2022
good first issuerefactor
Metriche repository
- Star
- (26 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
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.