On 05 Jun 2009, at 17:47, Paul Ishenin wrote:
Jonas Maebe wrote:
All programs are stripped. As you can see, wpo can now remove about
61kb (before, wpo gained 8kb). Still not very much. The reason that
you need several iterations to get all possible savings, is that
the compiler only records calls to virtual methods from code that
is included in the final program. So removing a method may cause
some other methods to be no longer from anywhere, etc.
FPC does not strip empty methods, functions, initialization/
finalization sections. Does wpo strips them?
No.
How difficult is to teach compiler to remove them during compilation?
I don't know, I have not looked into it. I don't think it's really
trivial though.
Jonas
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel