Skip to content

librustc: Improve pre-trans compile time by 4x by not looking in metadata in type contents. #17647

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

Merged
merged 1 commit into from
Sep 30, 2014

Conversation

pcwalton
Copy link
Contributor

I don't know exactly what made this regress so badly…maybe it was all the lifetimes that @eddyb landed. According to git blame this is all somewhat old code. Regardless this is an enormous improvement in compile times.

r? @brson

@rust-highfive
Copy link
Contributor

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@pcwalton pcwalton force-pushed the stop-looking-in-metadata-in-tc branch from 075251f to c693781 Compare September 30, 2014 04:55
@pcwalton pcwalton changed the title librustc: Stop looking in metadata in type contents. librustc: Improve pre-trans compile time by 4x by not looking in metadata in type contents. Sep 30, 2014
4x improvement in pre-trans compile time for rustc.
@pcwalton pcwalton force-pushed the stop-looking-in-metadata-in-tc branch from c693781 to 78e2503 Compare September 30, 2014 12:52
@pcwalton
Copy link
Contributor Author

@bors: retry

bors added a commit that referenced this pull request Sep 30, 2014
…r=cmr

I don't know exactly what made this regress so badly…maybe it was all the lifetimes that @eddyb landed. According to `git blame` this is all somewhat old code. Regardless this is an enormous improvement in compile times.

r? @brson
@bors bors closed this Sep 30, 2014
@bors bors merged commit 78e2503 into rust-lang:master Sep 30, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Jul 28, 2024
Rename rust-analyzer commands

The commands `editor.action.triggerParameterHints` and
`editor.action.rename` are now renamed to
`rust-analyzer.triggerParameterHints` and `rust-analyzer.rename`

This change helps make it clear that these commands are specific to
rust-analyzer and not part of the default set of commands provided by
VSCode.

Fixes: rust-lang/rust-analyzer#17644

Note: This seems like it will be a breaking change for any RA client that previously reacted to `editor.action.triggerParameterHints` - naive search: https://github.com/search?q=editor.action.triggerParameterHints+AND+%28NOT+is%3Afork%29+rust-analyzer&type=code
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Aug 1, 2024
Rename rust-analyzer commands

The commands `editor.action.triggerParameterHints` and
`editor.action.rename` are now renamed to
`rust-analyzer.triggerParameterHints` and `rust-analyzer.rename`

This change helps make it clear that these commands are specific to
rust-analyzer and not part of the default set of commands provided by
VSCode.

Fixes: rust-lang/rust-analyzer#17644

Note: This seems like it will be a breaking change for any RA client that previously reacted to `editor.action.triggerParameterHints` - naive search: https://github.com/search?q=editor.action.triggerParameterHints+AND+%28NOT+is%3Afork%29+rust-analyzer&type=code
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