Skip to content

Reshape uses virtual view instead of deep copy - #90

Open
konstibob wants to merge 1 commit into
zarr-developers:mainfrom
konstibob:reshape_codec
Open

Reshape uses virtual view instead of deep copy#90
konstibob wants to merge 1 commit into
zarr-developers:mainfrom
konstibob:reshape_codec

Conversation

@konstibob

Copy link
Copy Markdown
Contributor

added mechanism similar to https://github.com/numpy/numpy/blob/main/numpy/_core/src/multiarray/shape.c

to construct a virtual view instead of copying when possible, only adjusting the shape and stride parameters in the indexCal Parameter of a ma2.Array

@konstibob konstibob changed the title uses virtual view instead of deep copy Reshape uses virtual view instead of deep copy Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant