Skip to content

Consider switching matrix storage to Box<[i32]> #7

@hedgehog1024

Description

@hedgehog1024

Matrix requires owned dynamically sized storage. However, so far no matrix methods used Vec's ability to dynamically change size. If you have no plans to add such methods in future, consider switching storing data to boxed slice. Compared to Vec, it doesn't have methods to change it's size (which can prevent some errors) and it doesn't store additional usize for capacity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions