Skip to content

Requesting explanation for better performance at ... #115

@Sid-Bhatia-0

Description

@Sid-Bhatia-0

Here, it is mentioned that

reshape(x, (size(x) |> reverse |> Base.tail |> Base.tail |> reverse)..., :)

is much faster than

reshape(x, size(x)[1:end-2]..., :)

A brief explanation as to why that is so would be really appreciated! Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions