Unguarded next inside generator (#889)
Unguarded next inside generator (#889)

* Unguarded next inside generator

Remove _fast_keys() and rewrite it in keys() with a simple loop.
Might be faster, certainly simpler.

* Update zarr/storage.py

Co-authored-by: jakirkham <00b8e1f2832340b5fd94507dd2fa7880c7721435@gmail.com>

* Make it faster by moving `if` out of the loop

After all the name of the function is _keys_fast()!

Co-authored-by: jakirkham <00b8e1f2832340b5fd94507dd2fa7880c7721435@gmail.com>
zarr-developers/zarr-python