Skip to content

Rewrite metadata indexing#28176

Merged
bors merged 2 commits into
rust-lang:masterfrom
arielb1:fast-index
Sep 3, 2015
Merged

Rewrite metadata indexing#28176
bors merged 2 commits into
rust-lang:masterfrom
arielb1:fast-index

Conversation

@arielb1
Copy link
Copy Markdown
Contributor

@arielb1 arielb1 commented Sep 2, 2015

r? @eddyb

@eddyb
Copy link
Copy Markdown
Contributor

eddyb commented Sep 3, 2015

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

@bors
Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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
Copy Markdown
Contributor

eddyb commented Sep 3, 2015

@bors r+

@bors
Copy link
Copy Markdown
Collaborator

bors commented Sep 3, 2015

📌 Commit cde09e7 has been approved by eddyb

@bors
Copy link
Copy Markdown
Collaborator

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