Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow DiskArrays.cache to operate on the parent of a dimarray. #849

Merged
merged 8 commits into from
Nov 9, 2024

Conversation

asinghvi17
Copy link
Collaborator

@asinghvi17 asinghvi17 commented Nov 7, 2024

with this, DiskArrays.cache(dimarray) just works, and returns a rebuilt dimarray.

cc @meggart

basically everything forwards to the parent array, and `chunk` rebuilds the dimarray with the cached parent.
@asinghvi17 asinghvi17 requested a review from rafaqz November 7, 2024 18:14
Copy link
Owner

@rafaqz rafaqz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Can't believe I didn't do that earlier

ext/DimensionalDataDiskArraysExt.jl Outdated Show resolved Hide resolved
@asinghvi17
Copy link
Collaborator Author

Sweet! Should be good to go.

@rafaqz rafaqz merged commit b73b6ee into main Nov 9, 2024
7 of 8 checks passed
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.

3 participants