Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade zlib-ng to 2.2.3 #8656

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Upgrade zlib-ng to 2.2.3 #8656

merged 1 commit into from
Jan 2, 2025

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Jan 2, 2025

2.2.3 was released yesterday: https://github.com/zlib-ng/zlib-ng/releases/tag/2.2.3

New Years release, zlib-ng's 10 years celebration

My first commit in this repo was in October 8th 2014, although I do remember that I started during summer vacation and had made the zlib cleanup more of a mess than I wanted, so I restarted from scratch in October when I had gotten a better overview of the code and what I wanted to do to clean it up. At that point zlib-ng was not very likely to go anywhere, but despite the odds, over time several people found it and opened PRs with their own improvements, a few of those became long-time contributors, and a few years ago zlib-ng finally became more than an experimental fork. Zlib-ng has since gained traction and several distros have started replacing stock zlib with zlib-ng in compat mode.
...

🎉

Release 2.2.3

...
It also contains several optimizations. Especially of note, inflate has been optimized on various instruction sets and also the generic C code has seen improvements, and we have improvements for arches where unaligned accesses are not possible (lacking instructions to handle unaligned access) and also improvements on big endian.

Example benchmarks:
x86-64 AVX2: Inflate ~17.8% faster, Deflate unchanged. -4.6KB library size.
Aarch64: Inflate ~2.3% faster, Deflate unchanged. - 5.5KB library size.

@hugovk hugovk merged commit 9f2c702 into python-pillow:main Jan 2, 2025
70 checks passed
@hugovk hugovk deleted the zlib-2.2.3 branch January 2, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants