hdf5plugin icon indicating copy to clipboard operation
hdf5plugin copied to clipboard

Use zlib-ng

Open t20100 opened this issue 2 years ago • 2 comments

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.

t20100 avatar Dec 14 '22 09:12 t20100

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

bnavigator avatar Mar 04 '24 15:03 bnavigator

It'a currently using zlib (embedded in cblosc v1), not zlib-ng (embedded in cblosc v2).

t20100 avatar Mar 04 '24 16:03 t20100