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

Move tts instead of cloning in expansion #28526

Merged
merged 1 commit into from
Sep 20, 2015

Conversation

Manishearth
Copy link
Member

This reduces some clones of Vecs. These are not deep copies since the
token tree is made using Rcs, so this won't be a major improvement.

r? @eddyb

@eddyb
Copy link
Member

eddyb commented Sep 20, 2015

@bors r+

@bors
Copy link
Contributor

bors commented Sep 20, 2015

📌 Commit 8aef16c has been approved by eddyb

Manishearth added a commit to Manishearth/rust that referenced this pull request Sep 20, 2015
This reduces some clones of `Vec`s. These are not deep copies since the
token tree is made using `Rc`s, so this won't be a major improvement.

r? @eddyb
bors added a commit that referenced this pull request Sep 20, 2015
@bors bors merged commit 8aef16c into rust-lang:master Sep 20, 2015
@Manishearth Manishearth deleted the expand-clone branch September 20, 2015 11:31
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