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

Align FLEVELs with zlib. #128

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Conversation

werekraken
Copy link

Before these changes:

  • level 0 (no compression) FLEVEL indicates maximum compression
  • levels 2..5 FLEVELs indicate default compression
  • default and levels 6..8 FLEVELs indicate fast compression

After these changes:

  • level 0 (no compression) FLEVEL indicates fastest compression
  • levels 2..5 FLEVELs indicate fast compression
  • default and level 6 FLEVELs indicate default compression
  • levels 7..8 FLEVELs indicate maximum compression

Each of these changes replicates the behavior of zlib's deflate().

This replicates the behavior of zlib's deflate().
This replicates the behavior of zlib's deflate().
This replicates the behavior of zlib's deflate().
@werekraken werekraken changed the base branch from master to develop March 5, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant