From: Arno P. <ar...@pu...> - 2011-06-15 14:33:36
|
On 6/11/11 10:16 PM, Jeff Palmer wrote: > Saw this thread& all the system level responses. Android's use of Proguard > is at application level. Staying at the application level, I have a > question. If a xmlvm user had a large library jar, not RJE, that was only > slightly being used, would any of the un-used methods, end up in the final > program? I care as much about output size as build time. The only optimization XMLVM does is on class-level, i.e., once a class is pulled in to the compilation process, all its methods and fields will be included. XMLVM's dependency analysis is conservative: a class gets included the moment it gets referenced from the application. > Just wondering, since the user could always run everything through Proguard, > before they even get to you. I was using Proguard for Android a year before > they actually supported it. Probably a useful way to reduce the size. I don't think we should try to replicate Proguards functionality in XMLVM. Arno |