Skip to content

Conversation

@ljedrz
Copy link
Contributor

@ljedrz ljedrz commented Oct 31, 2018

Add 2 reserves and a with_capacity where the final vector size is known.

@ljedrz
Copy link
Contributor Author

ljedrz commented Oct 31, 2018

@kennytm
Copy link
Member

kennytm commented Oct 31, 2018

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Oct 31, 2018

📌 Commit f4c03fd has been approved by kennytm

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 31, 2018
kennytm pushed a commit to pietroalbini/rust that referenced this pull request Nov 1, 2018
…=kennytm syntax: improve a few allocations Add 2 `reserve`s and a `with_capacity` where the final vector size is known.
bors added a commit that referenced this pull request Nov 1, 2018
Rollup of 13 pull requests Successful merges: - #55280 (Add libproc_macro to rust-src distribution) - #55469 (Regression tests for issue #54477.) - #55504 (Use vec![x; n] instead of iter::repeat(x).take(n).collect()) - #55522 (use String::from() instead of format!() macro to construct Strings.) - #55536 (Pass suggestions as impl Iterator instead of Vec) - #55542 (syntax: improve a few allocations) - #55558 (Tweak `MatcherPos::matches`) - #55561 (Fix double_check tests on big-endian targets) - #55573 (Make sure the `aws` executable is in $PATH on macOS) - #55574 (Use `SmallVec` within `MoveData`.) - #55575 (Fix invalid_const_promotion test on some archs) - #55578 (Made doc example of `impl Default for …` use `-> Self` instead of explicit self type) - #55582 (Remove unused import copy from publish_toolstate.py)
@bors bors merged commit f4c03fd into rust-lang:master Nov 1, 2018
@ljedrz ljedrz deleted the syntax_alloc_improvements branch November 1, 2018 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

4 participants