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

Modify nested detection loop #1

Merged
merged 1 commit into from
Apr 20, 2021
Merged

Conversation

kkoz
Copy link

@kkoz kkoz commented Apr 20, 2021

The loop which attempts to determine whether a zarr file is nested or not appears to loop through all chunks even after determining the "nestedness". This has caused some timout issues for us. This modified version exits once a nested or not nested chunk is found, and has also re-ordered some of the logic.

@joshmoore
Copy link
Owner

Changes look good and reduce duplicates.

Repeating here what I mentioned to @kkoz: zarr-developers/zarr-python#715 looks to be on a trajectory to remove this heuristic.

@joshmoore joshmoore merged commit f41cbbd into joshmoore:nested Apr 20, 2021
joshmoore added a commit that referenced this pull request May 22, 2023
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.

2 participants