-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Exponential compilation time of "1" + 1 + "1" + ... #1687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@OlivierBlanvillain in which phase is it spending time? is it tailrec? |
Yes it's spending time in tailrec doing lots of |
Thanks for minimizing. I'll have a look at this after PLDI deadline. |
OlivierBlanvillain
added a commit
to OlivierBlanvillain/scalatest
that referenced
this issue
Nov 9, 2016
OlivierBlanvillain
added a commit
to OlivierBlanvillain/scalatest
that referenced
this issue
Nov 10, 2016
DarkDimius
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 22, 2017
The b-test would compile for a millenia without the fix.
DarkDimius
added a commit
that referenced
this issue
Jan 28, 2017
Fix #1687: postpone computations in tailrec until they are needed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following complies in 11s:
The text was updated successfully, but these errors were encountered: