hdf5plugin
hdf5plugin copied to clipboard
Use zlib-ng
Following addition of blosc2 (PR #201), blosc2 and others are using zlib
.
Yet, Blosc2 can use zlib-ng (sources included in internal-complibs/
), and it should also be possible to use zlib-ng
as a replacement for zlib
for other filters too.
This is need to look at how zlib-ng
handles building with SIMD instructions.
This already seems to be the case?
https://github.com/silx-kit/hdf5plugin/blob/2782806b8e1eb82f7b78dc2075296cf132a74a40/setup.py#L783 https://github.com/silx-kit/hdf5plugin/blob/2782806b8e1eb82f7b78dc2075296cf132a74a40/src/c-blosc2/internal-complibs/zlib-ng-2.0.7/README.md?plain=1#L1
It'a currently using zlib
(embedded in cblosc v1), not zlib-ng
(embedded in cblosc v2).