Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Enum.count comparison optimisation #11

Description

@H8rsbeware

As mentioned on Elixir Forum

Logical comparisons like Enum.count(x) > y could exit out when count of x exceeds y. potentially saving huge amounts of time with larger collections, or be changed to Enum.count_until(x, y) by the compiler.

P.s. I dont create many issue reports, hopefully my formatting is ok :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions