LDeakin / zarrs

A rust library for the Zarr storage format for multidimensional arrays and metadata
Apache License 2.0
89 stars 8 forks source link

Iterator improvements #33

Closed LDeakin closed 2 months ago

LDeakin commented 2 months ago

Indices::new_with_start_end now takes a std::ops::Range rather than a start and end

Change internal structure of various iterators to use std::ops::Range and remove redundant length

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 98.05825% with 2 lines in your changes missing coverage. Please review.

Project coverage is 81.46%. Comparing base (8adb307) to head (cbe051c).

Files Patch % Lines
src/array_subset/iterators/indices_iterator.rs 96.87% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #33 +/- ## ========================================== + Coverage 81.08% 81.46% +0.38% ========================================== Files 142 142 Lines 20183 20232 +49 ========================================== + Hits 16365 16483 +118 + Misses 3818 3749 -69 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.