Re: [javaCompiler-users] one more feature request :)
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2006-09-06 08:05:27
|
john sonal wrote: > I have one more feature request... > > -> Add an optimization option. To do this you just > pass -O2 after each compile command. ie. gcj -c > blah.jar -O2 Crap. I looked that up, but it didn't seem to exist; so I didn't use it. Either I screw that up or it just wasn't there with GCJ 3.x. Thanks, I'll add that. > It usually makes a difference in binary size (smaller) Really? I have different experience. As higher the optimisation, as bigger the executables... Depends on the strengh of the optimisation. Anyway, it doesn't make big changes :-) What we really need is the ability to remove AWT/Swing and XML from the binaries when not needed. That would drastically reduce the binary size... > and makes a big difference in performance. Yes, -O2 should really have been there... Marco |