pydata / xarray

N-D labeled arrays and datasets in Python
https://xarray.dev
Apache License 2.0
3.63k stars 1.09k forks source link

Faster chunk checking for backend datasets #9808

Open dcherian opened 9 hours ago

dcherian commented 9 hours ago
dcherian commented 6 hours ago

I didn't re-think through the logic but the cache idea makes sense, thanks!

The core of it didn't change, just avoided materializing a huge iterable in memory in favor of finding the first disagreement.