Priority: P4: Low
Affects Version/s: 5.9.2
Fix Version/s: None
Component/s: Core: Other
Now that coming 5.10 seems to include SIMD accelerated libjpeg-turbo (https://bugreports.qt.io/browse/QTBUG-40091) maybe the default bundled zlib could be replaced with SIMD accelerated zlib-ng ?
On Linux building for X86/X86-64:
./configure --prefix=/usr --libdir=/lib --zlib-compat && make && make install
And for ARM the following (and maybe gcc flags: -march=armv8-a+crc -mfpu=neon-fp-armv8 ???) are needed:
./configure --prefix=/usr --libdir=/lib --zlib-compat --acle --neon && make && make install
The QByteArray qcompress/uncompress functions need patching tought because they expect the uLong* (in vanilla zlib.h) while in the zlib-ng version of zlib.h they are size_t* for length arguments.
Sorry, forgot in the hurry to change the "Type" field from Bug to Suggestion