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

Issue 640243003: Small improvements to SkBitSet: (Closed)

Created:
6 years, 2 months ago by mtklein_C
Modified:
6 years, 2 months ago
Reviewers:
mtklein, caryclark, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Small improvements to SkBitSet: - implement O(1) operations in SkBitSet.h so they can inline away - use calloc to allocate empty bitsets instead of malloc then clear - little style things BUG=skia: Committed: https://skia.googlesource.com/skia/+/e099dd73dff0f447029323e918118a189bb27679

Patch Set 1 #

Total comments: 6

Patch Set 2 : reed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -20 lines) Patch
M src/utils/SkBitSet.h View 1 1 chunk +13 lines, -2 lines 0 comments Download
M src/utils/SkBitSet.cpp View 3 chunks +3 lines, -18 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
mtklein
6 years, 2 months ago (2014-10-09 15:41:12 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/640243003/1
6 years, 2 months ago (2014-10-09 15:43:05 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 2 months ago (2014-10-09 15:43:07 UTC) #5
reed1
https://codereview.chromium.org/640243003/diff/1/src/utils/SkBitSet.h File src/utils/SkBitSet.h (right): https://codereview.chromium.org/640243003/diff/1/src/utils/SkBitSet.h#newcode34 src/utils/SkBitSet.h:34: uint32_t mask = 1 << (index % 32); nit: ...
6 years, 2 months ago (2014-10-09 15:53:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/640243003/20001
6 years, 2 months ago (2014-10-09 16:12:25 UTC) #9
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 2 months ago (2014-10-09 16:12:25 UTC) #10
mtklein
https://codereview.chromium.org/640243003/diff/1/src/utils/SkBitSet.h File src/utils/SkBitSet.h (right): https://codereview.chromium.org/640243003/diff/1/src/utils/SkBitSet.h#newcode34 src/utils/SkBitSet.h:34: uint32_t mask = 1 << (index % 32); On ...
6 years, 2 months ago (2014-10-09 16:13:00 UTC) #11
reed1
lgtm
6 years, 2 months ago (2014-10-09 18:48:48 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-09 18:49:33 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as e099dd73dff0f447029323e918118a189bb27679

Powered by Google App Engine
This is Rietveld 408576698