Skip to content

Conversation

bluss
Copy link
Contributor

@bluss bluss commented Oct 4, 2013

Avoid cloning the stack on every push_ctxt call in trans

Rewrite the use of TLS variable for push_ctxt so that it uses a []
instead of a @
[]. Before it cloned the whole vector on each push and
pop, which is unnecessary.

Rewrite the use of TLS variable for `push_ctxt` so that it uses a ~[]
instead of a @~[]. Before it cloned the whole vector on each push and
pop, which is unnecessary.
bors added a commit that referenced this pull request Oct 4, 2013
…xcrichton

Avoid cloning the stack on every `push_ctxt` call in trans

Rewrite the use of TLS variable for `push_ctxt` so that it uses a ~[]
instead of a @~[]. Before it cloned the whole vector on each push and
pop, which is unnecessary.
@bors bors closed this Oct 5, 2013
@bors bors merged commit 87294c2 into rust-lang:master Oct 5, 2013
@bluss bluss deleted the trans-no-push-ctxt-clone branch October 5, 2013 04:56
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 21, 2022
Fix dupe word typos

changelog: fix some typos
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