Skip to content

Align FLEVELs with zlib.#128

Open
werekraken wants to merge 3 commits intomadler:developfrom
werekraken:flevel
Open

Align FLEVELs with zlib.#128
werekraken wants to merge 3 commits intomadler:developfrom
werekraken:flevel

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