I’ve tried using scalac -optimise with version 2.7.7. At that time I never got any performance improvements, but the compilation took longer.
Is the situation better in Scala 2.9.0 ? What optimisations are currently covered by the flag ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Strange, there was a similar question on the scala-user group:
Rex Kerr answered at the time (May):
Ismael Juma added:
For the influence of ‘
-optimise‘ (amongst other factors) in Scala2.9, see this scala-language thread called “Scala2.9 slower?”.The results leave a… mixed feeling.