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

Speed up some tile iteration #1410

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Speed up some tile iteration #1410

merged 1 commit into from
Dec 18, 2023

Conversation

manthey
Copy link
Member

@manthey manthey commented Dec 18, 2023

Reduce the chance of multiple image decodes.

When asking for numpy arrays on a tile iterator, the tiles could be fetched as formats other than a numpy array. This meant that the conversion to a numpy array was not cached; this change makes it so that the conversion is cached.

@manthey manthey force-pushed the caches-clear-on-exit branch from d4734e3 to c0faeb6 Compare December 18, 2023 18:38
Reduce the chance of multiple image decodes
@manthey manthey changed the base branch from caches-clear-on-exit to master December 18, 2023 18:38
@manthey manthey merged commit 504eae2 into master Dec 18, 2023
14 checks passed
@manthey manthey deleted the reduce-decodes branch December 18, 2023 20:09
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