Re:Shrinking a Kotlin Binary by 99.2%
by toolslive on Wednesday August 26, 2020 @03:15AM
(#24279984)
It used to help a lot (30-40%) to sort the class files of a librarly on canonical name before you add them to its jar. Class files contain that name, and are (typically) small. Your compression factor will grow. (maybe that trick is standard now)
[ Parent
| on HN ]
Re:Shrinking a Kotlin Binary by 99.2%
by Jake_Wharton on Wednesday August 26, 2020 @11:32AM
(#24283355)
Removing `-dontobfuscate` will change all the package, type, and function names to be single letters for the same result of greater compression.
The goal here was to just get it small enough, not the smallest it could possibly be.