-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimize
get_partial
& set_partial
calls.
calling these for every requested inner chunk of a shard is expensive can can lead to a `Unix.EMFILE` error. This commit attempts to minimize the number of calls by making sure these are called once on all requested inner chunks of a shard. This should lead to a significant decrease in the number of open files open for read/write at the same time when using a Zarr_lwt `FilesystemStore`.
- Loading branch information
Showing
2 changed files
with
59 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters