-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provides implementation of
Vec::extend_from_slice
optimized for `T:…
… Copy` (#236) * Adds `extend_from_slice_copy` inherent impl * Updated comments * Extends benchmarks to test a variety of slice lengths * Updates doc comment for extend_from_slice_copy * Removes comment with open question about alignment * Changes Vec's impl of io::Write to use extend_from_slice_copy * Removes changes to .gitignore * adds non-power-of-2 sizes to the benchmark --------- Co-authored-by: Zack Slayton <[email protected]>
- Loading branch information
Showing
3 changed files
with
135 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters