Skip to content

Conversation

bluss
Copy link
Owner

@bluss bluss commented Mar 23, 2021

This regresses performance of the .extend(s) benchmark where s is a
slice; to compensate add a private extend_from_slice method that we can
use where possible (clone_from, try_from).

Fixes #163

This regresses performance of the .extend(s) benchmark where s is a
slice; to compensate add a private extend_from_slice method that we can
use where possible (clone_from, try_from).
@bluss
Copy link
Owner Author

bluss commented Mar 23, 2021

CI success on beta and nightly (stable will come when Rust 1.51 is released shortly).

@bluss bluss merged commit 63ecdeb into master Mar 23, 2021
@bluss bluss deleted the extend-panic-on-capacity-error branch March 23, 2021 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggested API change – extend/collect should panic when capacity overflows
1 participant