Skip to content

Adding SmallSet #220

Open
Open
@dhardy

Description

@dhardy

Can I suggest adding a SmallSet implemented over SmallVec?

This already exists as an independent crate, but that crate is rather outdated. Since only 200-300 lines of code are required (incl. tests) and it is desirable to keep the version in sync with this crate, it seems sensible to integrate the functionality here?

If you like, I can make a PR, based either off rust-smallset or this ArraySet impl (my code, a little more general API, specialised for the case without an optional backing Vec since this can reduce type size).

(Actually, potentially both ArraySet and SmallSet could be added.)

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