SilverAndro / Machete

A gradle plugin to optimize built jars through individual file optimizations and increased compression
Mozilla Public License 2.0
21 stars 1 forks source link

Dont compress files under a certain size #4

Open SilverAndro opened 2 years ago

SilverAndro commented 2 years ago

The compression dictionary can actually expand the size of certain files

"Dont compress under X" is a quick fix, maybe add an option to properly test each file?

isXander commented 1 year ago

Compress all files like usual, then compare the original to optimized size and pick the smallest one.

SilverAndro commented 1 year ago

That would require me to rewrite the packer I think? Either that or create a dummy ZIP to attempt to pack stuff to first