Skip to content

Add a RawSmallVec type #245

Open
Open
@timothee-haudebourg

Description

@timothee-haudebourg

I see a lot of suggestions such as #220 and #226 to add new data structures based on small vec. I believe your position is to let other crates provide these data structures, which is great. However this can be a bit tedious with the current api which lacks a way to deal with "small" memory chunks independently of the actual data stored on it.

In the standard library, this is done using the RawVec type. Would it be possible to provide a similar RawSmallVec type that would allow other crates to build on that to create other data structures such as SmallVecDeque? This could be implemented in the 2.0 version perhaps.

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