-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Remove rampant infestation of String
from ExpnInfo
#28033
Conversation
@bors r+ |
📌 Commit 98e383c has been approved by |
Seems to be a 7MB improvement in memory usage for expansion ^_^ (on librustc) |
Travis implies |
98e383c
to
0e36dcd
Compare
@bors r=eddyb |
📌 Commit 0e36dcd has been approved by |
⌛ Testing commit 0e36dcd with merge 44f7c6d... |
💔 Test failed - auto-mac-64-opt |
0e36dcd
to
5c05b8f
Compare
@bors r=eddyb |
📌 Commit 5c05b8f has been approved by |
5c05b8f
to
25cbb43
Compare
@bors r=eddyb |
📌 Commit 25cbb43 has been approved by |
We were using them for every expansion, instead of using `Name`. Also converted `CompilerExpansion` into an enum so its nicer to use and takes up less space. Will profile later, but this should be a small improvement in memory usage. r? @eddyb
We were using them for every expansion, instead of using
Name
.Also converted
CompilerExpansion
into an enum so its nicer to use and takes up less space.Will profile later, but this should be a small improvement in memory usage.
r? @eddyb