-
Notifications
You must be signed in to change notification settings - Fork 1.1k
FIx source of performance regression in #3961 #4480
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
FIx source of performance regression in #3961 #4480
Conversation
test performance with #quotes please |
test performance please |
performance test scheduled: 3 job(s) in queue, 1 running. |
1 similar comment
performance test scheduled: 3 job(s) in queue, 1 running. |
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/4480/ to see the changes. Benchmarks is based on merging with master (eb4d2c8) |
6c41dfb
to
0ee13ca
Compare
test performance with #quotes please |
performance test scheduled: 1 job(s) in queue, 0 running. |
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/4480/ to see the changes. Benchmarks is based on merging with master (474e79a) |
test performance with #quotes please |
performance test scheduled: 1 job(s) in queue, 0 running. |
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/4480/ to see the changes. Benchmarks is based on merging with master (474e79a) |
test performance with #quotes please |
performance test scheduled: 1 job(s) in queue, 0 running. |
test performance with #quotes please |
performance test scheduled: 1 job(s) in queue, 1 running. |
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/4480/ to see the changes. Benchmarks is based on merging with master (474e79a) |
1 similar comment
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/4480/ to see the changes. Benchmarks is based on merging with master (474e79a) |
0d8a423
to
842c90f
Compare
test performance with #quotes please |
performance test scheduled: 1 job(s) in queue, 0 running. |
test performance please |
performance test scheduled: 1 job(s) in queue, 1 running. |
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/4480/ to see the changes. Benchmarks is based on merging with master (474e79a) |
842c90f
to
2df97c4
Compare
test performance with #quotes please |
performance test scheduled: 1 job(s) in queue, 1 running. |
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/4480/ to see the changes. Benchmarks is based on merging with master (474e79a) |
1 similar comment
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/4480/ to see the changes. Benchmarks is based on merging with master (474e79a) |
test performance with #quotes please |
performance test scheduled: 3 job(s) in queue, 1 running. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, LGTM
case _ => None | ||
} | ||
} else None | ||
tree match { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor issue: the object name SOrRawInterpolator
doesn't strictly correspond to what is in the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is not logic I made, I did not choose that name. Do you want me to change it to something else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It used to reflect what was in the code. Not anymore. I would just inline this extractor in StringContextIntrinsic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before the change, it's. After the symbolic equality checks are removed, it wasn't. But as we are going to remove local optimisations, it's fine to keep it as it is now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liufengyun This is not part of the local optimisations that will be removed. Scalac does something similar
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/4480/ to see the changes. Benchmarks is based on merging with master (ecf95c1) |
No description provided.