forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[base] Specialize __unwrap_iter for CheckedContiguousIterator
This change specializes libc++'s __unwrap_iter for base's CheckedContiguousIterator. This results in speeding up STL algorithms like std::copy, which now dispatches to a simple memmove if possible. Bug: 994174 Change-Id: I4970a7cb420a875a6f323f218448d305ab81d44b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1875734 Reviewed-by: Adam Langley <agl@chromium.org> Reviewed-by: Chris Palmer <palmer@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#762698}
- Loading branch information
Showing
3 changed files
with
119 additions
and
3 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