Skip to content

rustc: Use static strings in a few literals #9717

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

Closed
wants to merge 1 commit into from
Closed

rustc: Use static strings in a few literals #9717

wants to merge 1 commit into from

Conversation

bluss
Copy link
Member

@bluss bluss commented Oct 4, 2013

rustc: Use static strings in a few literals

Avoid allocating extra copies of strings by using "" instead of ~"" for
the debug options list and for the time function. This is a small
change, but it is in a path that's always executed.

Avoid allocating extra copies of strings by using "" instead of ~"" for
the debug options list and for the `time` function. This is a small
change, but it is in a path that's always executed.
bors added a commit that referenced this pull request Oct 4, 2013
rustc: Use static strings in a few literals

Avoid allocating extra copies of strings by using "" instead of ~"" for
the debug options list and for the `time` function. This is a small
change, but it is in a path that's always executed.
@bors bors closed this Oct 4, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 21, 2022
Remove note mentioning configuration changes need cargo clean

Missed this in rust-lang#9707

changelog: none
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.

2 participants