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

optimizations for vec/str #8412

Closed
wants to merge 4 commits into from
Closed

optimizations for vec/str #8412

wants to merge 4 commits into from

Conversation

thestinger
Copy link
Contributor

No description provided.

before:

test add ... bench: 164 ns/iter (+/- 1)

after:

test add ... bench: 113 ns/iter (+/- 2)
before:

test bench_with_capacity ... bench: 104 ns/iter (+/- 4)

after:

test bench_with_capacity ... bench: 56 ns/iter (+/- 1)
@bors bors closed this Aug 11, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 14, 2022
…=oli-obk

Optimize `redundant_clone`

Fixes rust-lang#8412

changelog: none
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