rorygraves / scalac_perf

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

scala.reflect.internal.Symbols.Symbol#ownerChain is called too many times when compile aka-actor #37

Closed ackratos closed 6 years ago

ackratos commented 6 years ago

we probably can make it a var and only update it when onwer changes, so that it won’t get re-computed every time.

In terms of performance test, I think this cannot be easily microbenchmarked but perf_tester (macro benchmark) would be a good choice.

mkeskells commented 6 years ago

duplicate of https://github.com/rorygraves/scalac_perf/issues/3

rorygraves commented 6 years ago

Closed as duplicate