Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
toolslive
on Aug 26, 2020
|
parent
|
context
|
favorite
| on:
Shrinking a Kotlin Binary by 99.2%
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)
Jake_Wharton
on Aug 26, 2020
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: