[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: optimizing for size



Mark Smith <mark@camazotz.com> wrote:
> Yes, I'm using Retroguard (www.retrologic.com), which makes a big 
> difference.  Soot is currently saving me another 2k on a 60k jar file 
> post-obfuscation, but every bit helps...

The Shimple constant propagator (with branching) in Soot 2.0.1 might
expose more dead code elimination opportunities, so try --via-shimple
in addition to -O.

Unfortunately, since it's intraprocedural, constant fields are not
currently detected/propagated and this might be where most savings
would show up.

Cheers,
Navin.