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

Issue 22571010: SkTDynamicHash: support remove() without needing Deleted(). (Closed)

Created:
7 years, 4 months ago by mtklein
Modified:
7 years ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

SkTDynamicHash - add validate() - make add() and remove() strict - fill in maybeShrink() - make grow and shrink thresholds configurable. - fix issue where we were getting filled with deleted items - we need to count them as occupied when determining if we should grow BUG= R=reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=10677

Patch Set 1 #

Total comments: 4

Patch Set 2 : reverse == polarity #

Patch Set 3 : add validate(), maybeShrink(), etc. to exisiting implementation #

Patch Set 4 : tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -59 lines) Patch
M src/core/SkTDynamicHash.h View 1 2 3 9 chunks +115 lines, -44 lines 0 comments Download
M tests/DynamicHashTest.cpp View 1 2 2 chunks +5 lines, -13 lines 0 comments Download
M tests/ImageCacheTest.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
mtklein
7 years, 4 months ago (2013-08-07 18:03:53 UTC) #1
reed1
lgtm w/ nits https://codereview.chromium.org/22571010/diff/1/src/core/SkTDynamicHash.h File src/core/SkTDynamicHash.h (right): https://codereview.chromium.org/22571010/diff/1/src/core/SkTDynamicHash.h#newcode37 src/core/SkTDynamicHash.h:37: if (candidate == NULL) { nit: ...
7 years, 4 months ago (2013-08-07 18:10:32 UTC) #2
mtklein
On 2013/08/07 18:10:32, reed1 wrote: > lgtm w/ nits > > https://codereview.chromium.org/22571010/diff/1/src/core/SkTDynamicHash.h > File src/core/SkTDynamicHash.h ...
7 years, 4 months ago (2013-08-07 18:15:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@google.com/22571010/6001
7 years, 4 months ago (2013-08-07 18:16:25 UTC) #4
mtklein
On 2013/08/07 18:16:25, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
7 years, 4 months ago (2013-08-08 19:55:02 UTC) #5
mtklein
7 years, 4 months ago (2013-08-12 14:51:29 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r10677.

Powered by Google App Engine
This is Rietveld 408576698