Skip to content

Add Array.uniquifySorted to the Arrays library #5520

Open
@gonzaotc

Description

@gonzaotc

🧐 Motivation
With the recent addition of sorting via quickSort to the library, results very convenient for consumers to also have an Array.uniquifySorted available for uniquifying sorted arrays.

📝 Details
In some cases, when we cannot utilize mappings, we utilize the Array library to eliminate duplicates on short-sized arrays, which could be easily done by executing Array.sort() + Array.uniquifySorted().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions