rorygraves / scalac_perf

The Scala programming language
http://www.scala-lang.org/
16 stars 3 forks source link

-Yrangepos - allocation hotspot #62

Closed mkeskells closed 5 years ago

mkeskells commented 6 years ago

This is not expected to be used in production environments, so is not optimised

e.g. Lots of temporary list creation

mkeskells commented 6 years ago

probably after https://github.com/rorygraves/scalac_perf/issues/63

mkeskells commented 6 years ago

https://github.com/scala/scala/pull/6696

mkeskells commented 5 years ago

in summary of the result when using -Yrangepos this provides a 10% reduction in CPU load and 23% reduction in allocation