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

--max command #4290

Merged
merged 8 commits into from
Feb 10, 2025
Merged

--max command #4290

merged 8 commits into from
Feb 10, 2025

Conversation

Cyan4973
Copy link
Contributor

@Cyan4973 Cyan4973 commented Feb 9, 2025

New --max command, which attempts to provide the best possible compression ratio, at the expense of everything else, cpu and memory, by pushing all parameters to their maximum value.

Warning: this setting is extremely wasteful, and not meant to be practical for larger files,
as illustrated by the following example:

compressing enwik9 (1,000,000,000 bytes) at --max level, on a i7-9700k platform:

level cSize cTime cMem
--ultra -22 213,898,083 ~6 mn ~ 3 GB
--max 202,507,076 ~72 mn ~ 18 GB

set parameters to maximum compression
(even more than -22)
Cyan4973 and others added 4 commits February 9, 2025 17:24
32-bit is unsuitable for --max
--max doesn't work in 32-bit mode, due to address space limitation
@Cyan4973 Cyan4973 marked this pull request as ready for review February 10, 2025 07:17
@Cyan4973 Cyan4973 merged commit e3a9351 into dev Feb 10, 2025
100 checks passed
@Cyan4973 Cyan4973 mentioned this pull request Feb 18, 2025
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.

3 participants