zlib-rs in Firefox
Summary
Firefox now uses zlib-rs for gzip decompress/compress, delivering significant speedups and safety improvements. The article discusses integration challenges, symbol prefixing, and a CPU bug on Intel Raptor Lake that required a workaround, with a patch upstreamed to zlib-rs and LLVM-related adjustments; upgrading to zlib-rs yields faster decompression on Linux x86_64 and improvements across platforms.