3 ms·
How can you optimize for better compression ratios with gzip?
by listic 11y ago
How can you optimize for better compression ratios with gzip?
- sp332 11y agogzip's default is -6, but -9 gives better compression. If you can sort your data or otherwise organize it so that similar data is grouped together, it has a better chance of finding the redundancy. Some implementations get better compression than the GNU implementation. The best one I know of is from the 7zip project. Other compression formats can give better ratios, if that's an option for your project. bzip2, xz, 7z.