Skip to content

Consider Boxed Slices #375

Open
Open
@danakj

Description

@danakj

Box<SliceMut<T>> could own the pointer in SliceMut (like Box<[T]> in Rust).

The advantage over Vec is really you don't have a capacity field anymore.

We'd need Vec::into_boxed_slice, Box<SliceMut<T>::from(Vec<T>), Box<SliceMut<T>::from_iter(IntoIterator<T> auto)

Metadata

Metadata

Assignees

No one assigned

    Labels

    designDesign of the library systems as a whole, such as concepts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions