Skip to content

Way to ustrip an array efficiently #717

@aplavin

Description

@aplavin

Looks like there is no single way to "ustrip all values in an array, as efficiently as possible".

  • ustrip(x): efficient for Array (reinterprets), not efficient for range (materializes); also, deprecated
  • ustrip.(x): efficient for range of Quantities (keeps a range), not efficient for range of regular numbers or for Array (materializes/copies)

Would be great to have such a way!

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