Skip to content

Set.exists and Map.exists have O(N) complexity rather than O(log(N)) #35553

@alpitol

Description

@alpitol

The table in
https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/fsharp-collection-types#table-of-functions
has O(log(N)) complexity for Map.exists and Set.exists, but as they have to match arbitrary predicate, it should be O(N)


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dotnet-fsharp/svcneeds-more-infoNeeds more info from OP. Auto-closed after 2 weeks if no response. [org][resolution]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions