-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Performance of compiletime tuple construction #15988
Labels
Comments
Katrix
added
the
stat:needs triage
Every issue needs to have an "area" and "itype" label
label
Sep 7, 2022
TheElectronWill
added
itype:enhancement
itype:performance
area:library
Standard library
and removed
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
Sep 8, 2022
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jun 20, 2023
The new implementation instantiates the TupleN/TupleXXL classes directly. This avoids the expensive construction of tuples using `*:`. Fixes scala#15988
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jun 20, 2023
The new implementation instantiates the TupleN/TupleXXL classes directly. This avoids the expensive construction of tuples using `*:`. Fixes scala#15988
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jun 20, 2023
The new implementation instantiates the TupleN/TupleXXL classes directly. This avoids the expensive construction of tuples using `*:`. Fixes scala#15988
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jun 22, 2023
The new implementation instantiates the TupleN/TupleXXL classes directly. This avoids the expensive construction of tuples using `*:`. Fixes scala#15988
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 12, 2023
The new implementation instantiates the TupleN/TupleXXL classes directly. This avoids the expensive construction of tuples using `*:`. Fixes scala#15988
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 25, 2023
The new implementation instantiates the TupleN/TupleXXL classes directly. This avoids the expensive construction of tuples using `*:`. Fixes scala#15988
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Aug 17, 2023
The new implementation instantiates the TupleN/TupleXXL classes directly. This avoids the expensive construction of tuples using `*:`. Fixes scala#15988
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Sep 19, 2023
The new implementation instantiates the TupleN/TupleXXL classes directly. This avoids the expensive construction of tuples using `*:`. Fixes scala#15988
nicolasstucki
added a commit
that referenced
this issue
Sep 25, 2023
The new implementation instantiates the TupleN/TupleXXL classes directly. This avoids the expensive unrolling of tuples using `*:` recursively. Fixes #15988
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
3.2.0
Minimized example
Tuple construction through
constValueTuple
,summonAll
and probably others too currently run in quadratic time at runtime, constructing all the smaller tuple sizes before getting to the desired one.Decompiled Java
Expectation
The text was updated successfully, but these errors were encountered: