Replace `std::unordered_map` with `absl::flat_hash_map`. [chromium/src : main]

0 views
Skip to first unread message

Maks Orlovich (Gerrit)

unread,
Feb 19, 2026, 2:48:36 PM (8 days ago) Feb 19
to Jeffrey Yu, AyeAye, Chromium LUCI CQ, wfh+...@chromium.org, spang...@chromium.org, tracing...@chromium.org
Attention needed from Jeffrey Yu

Maks Orlovich voted and added 1 comment

Votes added by Maks Orlovich

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Maks Orlovich . resolved

Deja vu: https://chromium-review.googlesource.com/c/chromium/src/+/7499345

...I guess it's better to land it this time, so you don't do it a third time.

Open in Gerrit

Related details

Attention is currently required from:
  • Jeffrey Yu
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I000633693df9fc98e4108a9e3b49c985f2aab366
Gerrit-Change-Number: 7563255
Gerrit-PatchSet: 4
Gerrit-Owner: Jeffrey Yu <yu...@chromium.org>
Gerrit-Reviewer: Jeffrey Yu <yu...@chromium.org>
Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
Gerrit-Attention: Jeffrey Yu <yu...@chromium.org>
Gerrit-Comment-Date: Thu, 19 Feb 2026 19:48:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Jeffrey Yu (Gerrit)

unread,
Feb 19, 2026, 3:07:38 PM (8 days ago) Feb 19
to Maks Orlovich, AyeAye, Chromium LUCI CQ, wfh+...@chromium.org, spang...@chromium.org, tracing...@chromium.org

Jeffrey Yu added 1 comment

Patchset-level comments
Maks Orlovich . resolved

Deja vu: https://chromium-review.googlesource.com/c/chromium/src/+/7499345

...I guess it's better to land it this time, so you don't do it a third time.

Jeffrey Yu

Oh, sorry, I didn't realize I had a duplicate of a previous CL!

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I000633693df9fc98e4108a9e3b49c985f2aab366
Gerrit-Change-Number: 7563255
Gerrit-PatchSet: 4
Gerrit-Owner: Jeffrey Yu <yu...@chromium.org>
Gerrit-Reviewer: Jeffrey Yu <yu...@chromium.org>
Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
Gerrit-Comment-Date: Thu, 19 Feb 2026 20:07:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Maks Orlovich <morl...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Jeffrey Yu (Gerrit)

unread,
Feb 20, 2026, 7:42:20 PM (7 days ago) Feb 20
to Qingxin Wu, Maks Orlovich, AyeAye, Chromium LUCI CQ, wfh+...@chromium.org, spang...@chromium.org, tracing...@chromium.org
Attention needed from Qingxin Wu

Jeffrey Yu voted Auto-Submit+1

Auto-Submit+1
Open in Gerrit

Related details

Attention is currently required from:
  • Qingxin Wu
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I000633693df9fc98e4108a9e3b49c985f2aab366
Gerrit-Change-Number: 7563255
Gerrit-PatchSet: 4
Gerrit-Owner: Jeffrey Yu <yu...@chromium.org>
Gerrit-Reviewer: Jeffrey Yu <yu...@chromium.org>
Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
Gerrit-Reviewer: Qingxin Wu <qing...@google.com>
Gerrit-Attention: Qingxin Wu <qing...@google.com>
Gerrit-Comment-Date: Sat, 21 Feb 2026 00:42:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Qingxin Wu (Gerrit)

unread,
Feb 20, 2026, 8:36:41 PM (7 days ago) Feb 20
to Jeffrey Yu, Maks Orlovich, AyeAye, Chromium LUCI CQ, wfh+...@chromium.org, spang...@chromium.org, tracing...@chromium.org
Attention needed from Jeffrey Yu

Qingxin Wu voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Jeffrey Yu
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I000633693df9fc98e4108a9e3b49c985f2aab366
    Gerrit-Change-Number: 7563255
    Gerrit-PatchSet: 4
    Gerrit-Owner: Jeffrey Yu <yu...@chromium.org>
    Gerrit-Reviewer: Jeffrey Yu <yu...@chromium.org>
    Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
    Gerrit-Reviewer: Qingxin Wu <qing...@google.com>
    Gerrit-Attention: Jeffrey Yu <yu...@chromium.org>
    Gerrit-Comment-Date: Sat, 21 Feb 2026 01:36:36 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Feb 20, 2026, 9:25:41 PM (7 days ago) Feb 20
    to Jeffrey Yu, Qingxin Wu, Maks Orlovich, AyeAye, wfh+...@chromium.org, spang...@chromium.org, tracing...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    Replace `std::unordered_map` with `absl::flat_hash_map`.

    The Chromium containers guide
    (https://chromium.googlesource.com/chromium/src/+/HEAD/base/containers/README.md)
    recommends using `absl::flat_hash_map` as a default map choice instead
    of `std::unordered_map` when pointer stability isn't needed, and
    `absl::node_hash_map` when it is. Both will still generally perform
    better and require less overhead than `std::unordered_map`.
    Bug: 473916362
    Change-Id: I000633693df9fc98e4108a9e3b49c985f2aab366
    Reviewed-by: Maks Orlovich <morl...@chromium.org>
    Auto-Submit: Jeffrey Yu <yu...@chromium.org>
    Reviewed-by: Qingxin Wu <qing...@google.com>
    Commit-Queue: Qingxin Wu <qing...@google.com>
    Cr-Commit-Position: refs/heads/main@{#1588228}
    Files:
    • M content/browser/interest_group/interest_group_storage.cc
    Change size: S
    Delta: 1 file changed, 3 insertions(+), 9 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Maks Orlovich, +1 by Qingxin Wu
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I000633693df9fc98e4108a9e3b49c985f2aab366
    Gerrit-Change-Number: 7563255
    Gerrit-PatchSet: 5
    Gerrit-Owner: Jeffrey Yu <yu...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages