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

Issue 140753003: Tweak validate() to check less as the size of the hash grows. (Closed)

Created:
6 years, 11 months ago by mtklein
Modified:
6 years, 11 months ago
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Tweak validate() to check less as the size of the hash grows. This makes working with a non-trivial SkTDynamicHash less painful in Debug builds. validate() is skipped in Release, so this has no effect there. BUG= Committed: http://code.google.com/p/skia/source/detail?r=13121

Patch Set 1 #

Total comments: 2

Patch Set 2 : rearrange #

Patch Set 3 : int is fine #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -34 lines) Patch
M src/core/SkTDynamicHash.h View 1 2 2 chunks +28 lines, -34 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
mtklein
This is what I'd like to do instead of converting validate to its own test. ...
6 years, 11 months ago (2014-01-16 15:09:28 UTC) #1
bsalomon
It seems OK for the current code. I have a small concern that someday this ...
6 years, 11 months ago (2014-01-16 15:54:47 UTC) #2
mtklein
Would you be more comfortable with a timer-based approach? Do we have a microsecond timer? ...
6 years, 11 months ago (2014-01-16 16:01:45 UTC) #3
mtklein
On 2014/01/16 16:01:45, mtklein wrote: > Would you be more comfortable with a timer-based approach? ...
6 years, 11 months ago (2014-01-16 16:11:06 UTC) #4
bsalomon
On 2014/01/16 16:11:06, mtklein wrote: > On 2014/01/16 16:01:45, mtklein wrote: > > Would you ...
6 years, 11 months ago (2014-01-16 16:16:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@google.com/140753003/90001
6 years, 11 months ago (2014-01-17 17:29:31 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 17:55:16 UTC) #7
Message was sent while issue was closed.
Change committed as 13121

Powered by Google App Engine
This is Rietveld 408576698