commit | 156ff6d76e1b9e7508f005da986eda27729224d2 | [log] [tgz] |
---|---|---|
author | Kevin Bailey <[email protected]> | Thu Oct 26 17:36:00 2017 |
committer | Commit Bot <[email protected]> | Thu Oct 26 17:36:00 2017 |
tree | 5b92dedff70f62ef4538d4328fc8259fedcd4063 | |
parent | 903f7f132b1d5cd3126e56a386e024b9ed9435f6 [diff] |
Add |IsNotIn| EraseIf-helper and convert to in-place set-intersection There are a few places where the Omnibox and friends need set-intersection but they currently construct a new set doing so. With EraseIf and this IsNotIn helper, it's trivial to do in-place set-intersection. It showed a 20% improvement under micro-benchmarks. This patch includes an existing Omnibox conversion, plus one under components/bookmarks. Bug: 775805 Change-Id: Ic15b5d97c4c04ada4b1e70a3ad159d07909874ec Reviewed-on: https://chromium-review.googlesource.com/726001 Reviewed-by: Mark Pearson <[email protected]> Reviewed-by: Scott Violet <[email protected]> Reviewed-by: danakj <[email protected]> Commit-Queue: Kevin Bailey <[email protected]> Cr-Commit-Position: refs/heads/master@{#511864}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .