-- Francois ARMAND http://fanf42.blogspot.com http://www.normation.com
-------- Original-Nachricht --------
> Datum: Wed, 04 May 2011 16:08:05 +0200
> Von: Francois <fan...@gmail.com>
> An: scala-user <scala...@googlegroups.com>
> Betreff: [scala-user] What is doing -optimize
Thanks, I should have guess that. But does the time overhead worth it ?
Or more precisely, in which kind of applications or code does it matter ?
The scala distribution is actually compiled with -optimise, but indeed
it's not on unless the argument is passed to scalac.
> Is it not mature enough, or could it lead to bugs, changed semantic, etc ?
As far as I understand, the team decided to be conservative and enable
it only for the scala distribution as an initial step (in Scala
2.8.0). Maybe it's a good idea to consider extending that in the next
major release.
Best,
Ismael