https://docs.scala-lang.org/overviews/compiler-options/index.html mentions; -optimize or -optimise Enables optimizations. This option is now deprecated. (probably need to check all others, too.)