Skip to content

reshape improvements #588

Open
Open
@c42f

Description

@c42f

A question came up on slack, prompting me to realize that our reshape could be improved:

  • With the vastly improved constant propagation in 1.0, we can have an efficient reshape without needing a Size wrapper. There's probably other operations for which this is true too.
  • Base.reshape docs specify that the reshape result shares the underlying storage. Our reshape of MVector with Size doesn't seem to satisfy that, but it probably should.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupfeaturefeatures and feature requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions