Skip to content

Hybrid static and regular multidimensional array #353

Open
@antoine-levitt

Description

@antoine-levitt

It seems like a common pattern to have big arrays of small arrays (e.g. 3 x N x N) and to accelerate this by converting to an array of static arrays (N x N array of SVectors of size 3). This works very well, but requires an API change: arr[:,i,j] -> arr[i,j]. Would it be possible with indexing overloading to have a type of array of SArrays such that arr[:,i,j] is an SArray?

Metadata

Metadata

Assignees

No one assigned

    Labels

    designspeculative design related issuefeaturefeatures and feature requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions