Joe McDonnell created IMPALA-13387:
--------------------------------------

             Summary: Add ability to compile against zlib-ng
                 Key: IMPALA-13387
                 URL: https://issues.apache.org/jira/browse/IMPALA-13387
             Project: IMPALA
          Issue Type: Improvement
          Components: Infrastructure
    Affects Versions: Impala 4.5.0
            Reporter: Joe McDonnell


Regular zlib doesn't take advantage of CPU features like AVX, etc. Impala 
already supports building against Cloudflare zlib, but Cloudflare zlib is 
irregularly maintained. For example, Cloudflare zlib doesn't not implement 
crc32_z, which has been in regular Zlib for several years. This means that it 
can't be used to compile the Mold linker.

Zlib-ng is more regularly maintained, and Fedora has talked about shipping it 
as the default Zlib. Zlib-ng has incorporated the performance fixes that were 
in Cloudflare zlib, so it should be just as fast (if not faster).

We should support building against it, and it should probably replace 
Cloudflare zlib as the default that we ship.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to