htslib icon indicating copy to clipboard operation
htslib copied to clipboard

Linking against Intel ISAL for faster deflate operations

Open pettyalex opened this issue 1 month ago • 3 comments

Hello,

I see that bgzf compression can optionally link against libdeflate for faster performance, but I was wondering if you've ever evaluated or considered linking against the Intel ISAL? It is BSD licensed, and offers the highest performance deflate implementation that I'm aware of, especially at lower compression ratios.

Perhaps it could be optionally linked, just like libdeflate is right now? Could it be preferred to libdeflate if both are available?

https://github.com/intel/isa-l

Benchmarks: https://github.com/zlib-ng/zlib-ng/issues/1486 https://github.com/powturbo/TurboBench/issues/43

pettyalex avatar May 06 '24 20:05 pettyalex