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
Another grab bag of compiler optimizations #3449
Conversation
- Don't create names just to perform prefix/suffix checks - Don't create names, decode, *and* intern strings in ICode
Only perform HashMap lookup of a tree until after checking more cheaply if it refers to a symbol with by-name parameter type.
scalaPrimitives.init() represented 1% of a small (1s) compilation run.
PLS REBUILD/pr-scala@e3af86a
|
(kitty-note-to-self: ignore 33866713) |
PLS REBUILD ALL Somehow PR validator got stuck on this one. |
Review by @gkossakowski, please |
LGTM. |
Another grab bag of compiler optimizations
case '.' if last != '>' => last = '.' ; '$' | ||
case ch => last = ch ; ch | ||
var i = 0 | ||
val len = sig.length |
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.
unused variable?
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.
good spot, I guess I meant to use it in the while
.
Review by @gkossakowski