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

Issue 2145163003: PVer4: Keep track of the smallest hashes not their sizes. Replace counters with iterators. (Closed)

Created:
4 years, 5 months ago by vakh (use Gerrit instead)
Modified:
4 years, 5 months ago
Reviewers:
Nathan Parker
CC:
chromium-reviews, Scott Hess - ex-Googler, palmer
Base URL:
https://chromium.googlesource.com/chromium/src.git@01_read_map_from_disk
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PVer4: Keep track of the smallest hashes not their sizes. Also, replace counters with iterators to avoid multiplications BUG=543161 Committed: https://crrev.com/4386b67601ca07f067fa21e21ae7d42dd1430ee3 Cr-Commit-Position: refs/heads/master@{#405662}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Simplify: keep track of the smallest hashes not their sizes when merging #

Patch Set 3 : Tiny: Comment update #

Patch Set 4 : tiny: remove an unused variable #

Patch Set 5 : git pull #

Total comments: 1

Patch Set 6 : Update comment about iterator initialization #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -119 lines) Patch
M components/safe_browsing_db/v4_store.h View 1 2 3 4 5 3 chunks +15 lines, -21 lines 0 comments Download
M components/safe_browsing_db/v4_store.cc View 1 2 3 4 3 chunks +50 lines, -66 lines 0 comments Download
M components/safe_browsing_db/v4_store_unittest.cc View 1 2 3 4 1 chunk +15 lines, -32 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 32 (18 generated)
vakh (use Gerrit instead)
4 years, 5 months ago (2016-07-14 00:22:47 UTC) #2
Nathan Parker
lgtm The multiply is basically free, compared to memory access, so this isn't really a ...
4 years, 5 months ago (2016-07-14 22:09:32 UTC) #3
vakh (use Gerrit instead)
Simplify: keep track of the smallest hashes not their sizes when merging
4 years, 5 months ago (2016-07-14 23:09:03 UTC) #4
vakh (use Gerrit instead)
I've updated the code more than I should have after getting an LGTM so please ...
4 years, 5 months ago (2016-07-14 23:10:41 UTC) #8
vakh (use Gerrit instead)
Tiny: Comment update
4 years, 5 months ago (2016-07-14 23:12:25 UTC) #11
vakh (use Gerrit instead)
tiny: remove an unused variable
4 years, 5 months ago (2016-07-14 23:32:49 UTC) #16
vakh (use Gerrit instead)
git pull
4 years, 5 months ago (2016-07-15 00:14:49 UTC) #19
Nathan Parker
lgtm https://codereview.chromium.org/2145163003/diff/80001/components/safe_browsing_db/v4_store.h File components/safe_browsing_db/v4_store.h (right): https://codereview.chromium.org/2145163003/diff/80001/components/safe_browsing_db/v4_store.h#newcode220 components/safe_browsing_db/v4_store.h:220: // Sets a value of 0 in |iterator_map| ...
4 years, 5 months ago (2016-07-15 00:39:48 UTC) #20
vakh (use Gerrit instead)
Update comment about iterator initialization
4 years, 5 months ago (2016-07-15 00:46:18 UTC) #21
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/2145163003/100001
4 years, 5 months ago (2016-07-15 01:08:18 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-15 01:22:13 UTC) #28
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/4386b67601ca07f067fa21e21ae7d42dd1430ee3 Cr-Commit-Position: refs/heads/master@{#405662}
4 years, 5 months ago (2016-07-15 01:25:37 UTC) #30
henrika (OOO until Aug 14)
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/2151193002/ by henrika@chromium.org. ...
4 years, 5 months ago (2016-07-15 07:53:11 UTC) #31
vakh (use Gerrit instead)
4 years, 5 months ago (2016-07-15 21:55:33 UTC) #32
Message was sent while issue was closed.
On 2016/07/15 07:53:11, henrika wrote:
> A revert of this CL (patchset #6 id:100001) has been created in
> https://codereview.chromium.org/2151193002/ by mailto:henrika@chromium.org.
> 
> The reason for reverting is: Breaks V4StoreTest tests on Win7
> 
>
https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.win%2FWin7_Test....

Here's the uberchromegw link:
https://uberchromegw.corp.google.com/i/chromium.win/builders/Win7%20Tests%20%...

Powered by Google App Engine
This is Rietveld 408576698