Skip to content
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

Merged
merged 2 commits into from
Aug 28, 2015

Conversation

Manishearth
Copy link
Member

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

@eddyb
Copy link
Member

eddyb commented Aug 27, 2015

@bors r+

@bors
Copy link
Contributor

bors commented Aug 27, 2015

📌 Commit 98e383c has been approved by eddyb

@Manishearth
Copy link
Member Author

Seems to be a 7MB improvement in memory usage for expansion ^_^ (on librustc)

@huonw
Copy link
Member

huonw commented Aug 27, 2015

Travis implies make tidy may've failed, but it isn't obvious (on mobile) what caused it.

@Manishearth
Copy link
Member Author

@bors r=eddyb

@bors
Copy link
Contributor

bors commented Aug 27, 2015

📌 Commit 0e36dcd has been approved by eddyb

@bors
Copy link
Contributor

bors commented Aug 27, 2015

⌛ Testing commit 0e36dcd with merge 44f7c6d...

@bors
Copy link
Contributor

bors commented Aug 27, 2015

💔 Test failed - auto-mac-64-opt

@Manishearth
Copy link
Member Author

@bors r=eddyb

@bors
Copy link
Contributor

bors commented Aug 27, 2015

📌 Commit 5c05b8f has been approved by eddyb

@Manishearth
Copy link
Member Author

@bors r=eddyb

@bors
Copy link
Contributor

bors commented Aug 27, 2015

📌 Commit 25cbb43 has been approved by eddyb

Manishearth added a commit to Manishearth/rust that referenced this pull request Aug 27, 2015
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
bors added a commit that referenced this pull request Aug 27, 2015
@bors bors merged commit 25cbb43 into rust-lang:master Aug 28, 2015
@Manishearth Manishearth deleted the compilerexpn branch September 3, 2015 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants