Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow using zlib-rs for more than 2x speedup and improved memory safety #29

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Shnatsel
Copy link

@Shnatsel Shnatsel commented Dec 5, 2024

Switches over to zlib-rs by default. On my machine this improves the reported time by mtpng CLI from 128ms to 55ms on this image: https://commons.wikimedia.org/wiki/File:Diagram_Integrasi_Transportasi_Publik_Semarang.png

Allows selecting plain old zlib via Cargo features just in case it's needed for some sort of C program linking not to blow up. I don't actually know if they will blow up or not, so I decided to err on the side of caution.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant