I think I've just found "avenues of optimization" for the #scala compiler! https://github.com/scala/scala/blob/2.13.x/src/reflect/scala/reflect/runtime/Gil.scala#L20 …
More seriously, it seems that a lot of time is spent on locks when macros infer implicit values. Is that something that has been looked into ? Is it hard to fix ? Worth the time ?
-
-
Replying to @skaalf
I suspect they're needed for safety. The last I remember hearing, implicit search makes various speculative changes to the (mutable) symbol table which need to be carefully rolled back if a certain path through the search space doesn't work out.
1 reply 0 retweets 0 likes -
Replying to @propensive1 reply 0 retweets 1 like
Replying to @skaalf
I recognise that writing style...
10:58 PM - 7 Aug 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.