Skip to content

Use @str instead of @~str in the compiler. #7086

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 4 commits into from
Jun 13, 2013
Merged

Conversation

huonw
Copy link
Member

@huonw huonw commented Jun 12, 2013

Fixes #5048.

I'm sure this reduces memory usage, but I can't get cgroups to work properly to actually measure memory. (It doesn't appear to offer much speed improvement, but I'm fairly sure it's not slower.)

This is quite huge, so it'd be nice to get a resolution soon.

@huonw
Copy link
Member Author

huonw commented Jun 12, 2013

I'm not really sure who's best to review this, @graydon maybe (or maybe, @catamorphism opened the original issue).

huonw added 4 commits June 13, 2013 10:19
…5048.

This almost removes the StringRef wrapper, since all strings are
Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts
several things to be &'static str (the lint table and the intrinsics
table).

There are many instances of .to_managed(), unfortunately.
bors added a commit that referenced this pull request Jun 13, 2013
Fixes #5048.

I'm sure this reduces memory usage, but I can't get cgroups to work properly to actually measure memory. (It doesn't appear to offer much speed improvement, but I'm fairly sure it's not slower.)

This is quite huge, so it'd be nice to get a resolution soon.
@bors bors merged commit 5ebffd4 into rust-lang:incoming Jun 13, 2013
@huonw huonw mentioned this pull request Jun 13, 2013
@huonw huonw deleted the 5048 branch June 13, 2013 02:07
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