commit | aec4e5fc8ec5c59df3edb290a4f6fba657c832e7 | [log] [tgz] |
---|---|---|
author | Steinar H. Gunderson <sesse@chromium.org> | Mon Apr 11 12:45:53 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 11 12:45:53 2022 |
tree | 3746d3d2d12c99f03e602c94d7a7fea04ab9c07a | |
parent | 856a57f04ea5da747c1f22adf8dbdfd5361d7b3e [diff] |
Simplify CascadeMap::Add(). Instead of using a lambda that we call from two different places (which the compiler seemingly refuses to inline, because it is too big), rewrite into finding the right list first and then inserting into it in a common block afterwards. This is mainly a cleanup, but seems to help ~1% in style since we don't have to go through the function call overhead and Add() is fairly hot. Change-Id: I72bf01a8dbac7c2cdd7c29eafd90dd714ef40eb9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3578697 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Steinar H Gunderson <sesse@chromium.org> Cr-Commit-Position: refs/heads/main@{#990981}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.