You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good question. Starting from zarrv3 there will be no difference anymore between compressors and filters and there will only be a codec pipeline. I have no idea how well this can already be transferred to the v2 model, but maybe it would be easier for now to add a zlib Filter type with common functionality to the compressor?
Since I'm adding more filters anyway, I'm wondering if it makes sense to refactor everything now into a codec? At least for the zcompress/zencode / zuncompress/zdecode, we could theoretically just merge *compress into *encode. That would probably also make things easier for Zarr v3.
As a monkeypatch I can implement your suggestion though, it's just that it might make more sense to unify if Zarr v3 is coming up anyway.
I recently had this issue while writing FSSpec.jl:
it looks like people are using zlib as a Zarr filter too.
Is it time to factor out the compressors and filters to a single API and make a
NumericCodecs.jl
?The text was updated successfully, but these errors were encountered: