Skip to content

Optimize storing fill_value to Array #366

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

Closed
jakirkham opened this issue Dec 16, 2018 · 1 comment · Fixed by #738
Closed

Optimize storing fill_value to Array #366

jakirkham opened this issue Dec 16, 2018 · 1 comment · Fixed by #738

Comments

@jakirkham
Copy link
Member

Would be nice if when storing a scalar or an array that contains only the fill_value of the Array, the chunk is merely deleted (if it exists) instead of writing out a chunk that contains only the fill_value for all elements. The Array should behave identically in either case. The only benefit is that storage is cutdown automatically in this case. A situation where this may come up is when copying one Array to another.

@jakirkham
Copy link
Member Author

A rough attempt at solving this is in PR ( #367 ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant