Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)


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: