commit | e3cbe1068734693d088e178463242d7deb66aebb | [log] [tgz] |
---|---|---|
author | Andrew Paseltiner <apaseltiner@chromium.org> | Mon Sep 09 14:20:14 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 09 14:20:14 2024 |
tree | 2291b48f78c16d4b99fec029ea1ae089c3b2f936 | |
parent | 5579e482cf999c0142bf593af3e31ac4c7ba0233 [diff] |
Skip scope-flattening when no additional scopes are allowed Given a pending source with scope limit L and M scopes, when L-M=0 any source that contains a scope not in the M scopes can be deleted/deactivated without going through the flattening/sorting steps. This reduces memory consumption in this case by O(N*S), where N is the number of relevant sources and S is the average number of scopes not contained in the pending source. This CL contains no intentional user-visible behavioral changes. Change-Id: I677dcf3ad68a7c5c4f198cf6630c59775ebdfacb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5845390 Reviewed-by: Nan Lin <linnan@chromium.org> Commit-Queue: Andrew Paseltiner <apaseltiner@chromium.org> Cr-Commit-Position: refs/heads/main@{#1352722}
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.