Skip to content

Conversation

@adriaanm
Copy link
Contributor

This simply takes the part of #6580 that is ready right now for M4 (which is due on Monday). Perhaps the more subtle improvements will be ready too by then, but I wanted to make sure we book this win. Nice find, @milessabin and @smarter!

Don't eagerly compute unseen, yet expensive error messages
(because we're in a nested search, or -Xlog-implicits is not enabled).

Don't eagerly compute unseen, yet expensive error messages
(because we're in a nested search, or -Xlog-implicits is not enabled).
@adriaanm adriaanm merged commit a52482c into scala:2.13.x May 10, 2018
@SethTisue SethTisue added the performance the need for speed. usually compiler performance, sometimes runtime performance. label May 10, 2018
@milessabin
Copy link
Contributor

milessabin commented Jul 4, 2018

It turns out that specs2-scalaz has been relying on side-effects in TypeDiagnostics.findReqMsg which means that it doesn't compile with this commit applied.

As discussed on the 2.12.x backport PR (#6582 (comment)) this has already been worked around (/cc @etorreborre) in the specs2 updates for 2.13.0-M4, so there might be nothing more to do now, but flagging up here just in case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance the need for speed. usually compiler performance, sometimes runtime performance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants