You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve compile time performance where heuristic inapplicable
From the initial PR,
This PR provides much faster (35 x in the provided benchmark case) compilation of the kind of inductive implicit resolution that is found in shapeless and its uses for type class derivation in libraries such as Circe, Doobie and Scodec.
The text was updated successfully, but these errors were encountered:
It turned out that almost all of the compile time superlinearity was accounted for by exploring solutions using polymorphic implicits which would never be applicable. In addition, unnecessary logging side effects added a huge constant factor. The former is fixed by early pruning of inapplicable polymorphic implicits and the latter by eliding the logging where possible.
Integration with byname implicits — in progressDocument algorithmImprove compile time performance where heuristic inapplicableFrom the initial PR,
The text was updated successfully, but these errors were encountered: