Skip to content

optimize kv.Collection.Every functions to return early #40

@thefuga

Description

@thefuga

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersrefactorImprove code without breaking changes

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions