Skip to content

Allow arbitrary arrays for most set operations #895

Open
@sbarzowski

Description

@sbarzowski

Set operations like setUnion or setDiff technically are only valid on sets (sorted array). This can lead to nasty, hard-to-notice bugs when someone forgets about it.

We should consider relaxing the requirements on the input. Note that we will still need to maintain the requirement for setMember (unless we're willing to accept linear search there, which kinda defeats the point).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions