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

Pre-allocate in functions that return new SmallVecs #71

Merged
merged 1 commit into from Nov 3, 2017

Conversation

@mbrubeck
Copy link
Contributor

mbrubeck commented Nov 2, 2017

This change is Reviewable

@pcwalton
Copy link

pcwalton commented Nov 2, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Nov 2, 2017

📌 Commit 186d750 has been approved by pcwalton

@bors-servo
Copy link
Contributor

bors-servo commented Nov 2, 2017

Testing commit 186d750 with merge 115e425...

bors-servo added a commit that referenced this pull request Nov 2, 2017
Pre-allocate in functions that return new SmallVecs

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/71)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 3, 2017

☀️ Test successful - status-travis
Approved by: pcwalton
Pushing 115e425 to master...

@bors-servo bors-servo merged commit 186d750 into servo:master Nov 3, 2017
1 of 2 checks passed
1 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
homu Test successful
Details
@mbrubeck mbrubeck mentioned this pull request Nov 30, 2017
bors-servo added a commit that referenced this pull request Dec 1, 2017
Version 0.6.0

Includes these changes since the last release:

* Breaking change: Remove deprecated `SmallVecN` type aliases and `push_all_move` method (#77)
* Breaking change: Make `retain` pass `&mut T` to its predicate (#61)
* Add new methods `dedup`, `dedup_by`, and `dedup_by_key` (#72)
* Deprecate the `VecLike` trait in favor of standard library traits (#74)
* Optimize the `Clone` and `Deserialize` implementations to avoid unnecessary reallocation (#71)
* Optimize `extend_from_slice` and `insert_from_slice` to use `copy_nonoverlapping` (#76)
* Include the text of the Mozilla Public License in the source repo (#69)
* Improved documentation (#75)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/78)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.