-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further reorganize typeclass implicits for faster implicit search
- specific implicit for `Seq[T]` - make the implictits in the generated code by in a subclass of the low priority, expensive implicits. After this change, we get to 187 discarded "expensive" implicits % scalac-hash v2.10.3 -Xlog-implicits @args2.txt -Xprint:typer LME.scala 2>&1 | grep "not a valid" | wc -l Down from 2200! The benchmark compiles in 740ms, a 3.5x speedup from the original 2600ms.
- Loading branch information
Showing
3 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters