Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Issue 2349163002: [base] Decrease probing in hashmap (Closed)

Created:
4 years, 3 months ago by Leszek Swirski
Modified:
4 years, 3 months ago
Reviewers:
rmcilroy
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[base] Decrease probing in hashmap Removes some unnecessary probing in TemplateHashMapImpl, in particular probing a second time in LookupOrInsert after the first probe came up with an empty value. Committed: https://crrev.com/bedde181fdd7b444509eab7f382e9ed2740546ec Cr-Commit-Position: refs/heads/master@{#39545}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Rename 'p' and 'probe' to 'entry' throughout #

Patch Set 3 : Remove ResizeAndProbe because the name is horrible #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -41 lines) Patch
M src/base/hashmap.h View 1 2 8 chunks +48 lines, -41 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (11 generated)
Leszek Swirski
4 years, 3 months ago (2016-09-19 09:17:04 UTC) #2
rmcilroy
LGTM (remember to update description if you remove the ResizeAndProbe change as suggested). https://codereview.chromium.org/2349163002/diff/1/src/base/hashmap.h File ...
4 years, 3 months ago (2016-09-19 10:43:13 UTC) #3
Leszek Swirski
https://codereview.chromium.org/2349163002/diff/1/src/base/hashmap.h File src/base/hashmap.h (right): https://codereview.chromium.org/2349163002/diff/1/src/base/hashmap.h#newcode287 src/base/hashmap.h:287: TemplateHashMapImpl<Key, Value, AllocationPolicy>::FillEmptyProbe( On 2016/09/19 10:43:13, rmcilroy wrote: > ...
4 years, 3 months ago (2016-09-19 12:42:51 UTC) #4
Leszek Swirski
https://codereview.chromium.org/2349163002/diff/1/src/base/hashmap.h File src/base/hashmap.h (right): https://codereview.chromium.org/2349163002/diff/1/src/base/hashmap.h#newcode338 src/base/hashmap.h:338: } On 2016/09/19 12:42:50, Leszek Swirski wrote: > On ...
4 years, 3 months ago (2016-09-19 12:56:51 UTC) #5
commit-bot: I haz the power
This CL has an open dependency (Issue 2345233003 Patch 20001). Please resolve the dependency and ...
4 years, 3 months ago (2016-09-19 16:11:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2349163002/60001
4 years, 3 months ago (2016-09-20 10:54:23 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-20 11:30:04 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 11:30:57 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bedde181fdd7b444509eab7f382e9ed2740546ec
Cr-Commit-Position: refs/heads/master@{#39545}

Powered by Google App Engine
This is Rietveld 408576698