Skip to content

Conversation

@stepancheg
Copy link
Contributor

Since commit 46068c9, call to reserve() on empty vec allocates
exactly requested capacity, so unroll of first iteration may help only
with branch prediction.

Since commit 46068c9, call to `reserve()` on empty vec allocates
exactly requested capacity, so unroll of first iteration may help only
with branch prediction.
@rust-highfive
Copy link
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@nikomatsakis
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Nov 9, 2015

📌 Commit e3433e3 has been approved by nikomatsakis

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Nov 10, 2015
…akis

Since commit 46068c9, call to `reserve()` on empty vec allocates
exactly requested capacity, so unroll of first iteration may help only
with branch prediction.
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Nov 10, 2015
…akis

Since commit 46068c9, call to `reserve()` on empty vec allocates
exactly requested capacity, so unroll of first iteration may help only
with branch prediction.
bors added a commit that referenced this pull request Nov 10, 2015
@bors bors merged commit e3433e3 into rust-lang:master Nov 10, 2015
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.

4 participants