We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the results of vs_vec.rs bench, we are slower in iterating than Vec:
vs_vec.rs
Vec
$ rustup run nightly cargo bench ... Running benches/vs_vec.rs (target/release/deps/vs_vec-903d5e84934e313a) running 2 tests test stack_push_and_pop ... bench: 6,058 ns/iter (+/- 449) test vec_push_and_pop ... bench: 3,425 ns/iter (+/- 138)
The problem is in the into_iter() method. Let's figure out where is the lag and fix.
into_iter()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
According to the results of
vs_vec.rs
bench, we are slower in iterating thanVec
:The problem is in the
into_iter()
method. Let's figure out where is the lag and fix.The text was updated successfully, but these errors were encountered: