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

Rewrite metadata indexing #28176

Merged
merged 2 commits into from
Sep 3, 2015
Merged

Rewrite metadata indexing #28176

merged 2 commits into from
Sep 3, 2015

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Sep 2, 2015

r? @eddyb

@eddyb
Copy link
Member

eddyb commented Sep 3, 2015

LGTM. Do you have any numbers on size/time improvements?

@bors
Copy link
Contributor

bors commented Sep 3, 2015

☔ The latest upstream changes (presumably #28174) made this pull request unmergeable. Please resolve the merge conflicts.

Ariel Ben-Yehuda added 2 commits September 3, 2015 12:23
this improves the compilation time for small crates by ~20%
@arielb1
Copy link
Contributor Author

arielb1 commented Sep 3, 2015

Compiling a small crate shrinks from 410ms to 370ms. Metadata size is larger for some crates and smaller for others, but mostly smaller (librustc.rlib grows by ~560kiB, most other crates - including libstd and librustc_trans - shrink by a similar amount).

@eddyb
Copy link
Member

eddyb commented Sep 3, 2015

@bors r+

@bors
Copy link
Contributor

bors commented Sep 3, 2015

📌 Commit cde09e7 has been approved by eddyb

@bors
Copy link
Contributor

bors commented Sep 3, 2015

⌛ Testing commit cde09e7 with merge 9e9c83b...

bors added a commit that referenced this pull request Sep 3, 2015
@bors bors merged commit cde09e7 into rust-lang:master Sep 3, 2015
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.

3 participants