Resolve #179: allows certain prefetch directions to be "prioritized," so e.g. if the user is playing through time, we don't waste fetches requesting adjacent z-slices at each timestep we visit.
ChunkPrefetchIterator, which facilitates picking the chunks we prefetch, gets a new priority feature and a new unit test to match.
OMEZarrLoader gets a new method, setPrefetchPriorityDirections, which sets priority. It also gets some new documentation, while I was there.
WorkerLoader gets an identical method, and glue code to pass priority info into a workerized loader if it's an OMEZarrLoader.
The whole package gets a new export: PrefetchDirection, the const enum previously used only internally to ChunkPrefetchIterator, which is now required to express prefetch direction priority.
Resolve #179: allows certain prefetch directions to be "prioritized," so e.g. if the user is playing through time, we don't waste fetches requesting adjacent z-slices at each timestep we visit.
ChunkPrefetchIterator
, which facilitates picking the chunks we prefetch, gets a new priority feature and a new unit test to match.OMEZarrLoader
gets a new method,setPrefetchPriorityDirections
, which sets priority. It also gets some new documentation, while I was there.WorkerLoader
gets an identical method, and glue code to pass priority info into a workerized loader if it's anOMEZarrLoader
.PrefetchDirection
, theconst enum
previously used only internally toChunkPrefetchIterator
, which is now required to express prefetch direction priority.