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

Issue 269543025: Partially restore small-T optimization for very small (empty) T. (Closed)

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

Description

Partially restore small-T optimization for very small (empty) T. This is particularly helpful for SkRecord::replace<NoOp>, which now doesn't go off and allocate a pointless byte. BUG=skia:2378 Committed: http://code.google.com/p/skia/source/detail?r=14622

Patch Set 1 #

Total comments: 2

Patch Set 2 : SkTIsEmpty #

Total comments: 2

Patch Set 3 : comment #

Patch Set 4 : singletons #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -3 lines) Patch
M src/record/SkRecord.h View 1 2 3 5 chunks +15 lines, -3 lines 0 comments Download
M src/utils/SkTLogic.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
mtklein
6 years, 7 months ago (2014-05-06 22:05:13 UTC) #1
bungeman-skia
https://codereview.chromium.org/269543025/diff/1/src/record/SkRecord.h File src/record/SkRecord.h (right): https://codereview.chromium.org/269543025/diff/1/src/record/SkRecord.h#newcode173 src/record/SkRecord.h:173: } I understand what you're doing here, but eck. ...
6 years, 7 months ago (2014-05-07 14:35:23 UTC) #2
mtklein
https://codereview.chromium.org/269543025/diff/1/src/record/SkRecord.h File src/record/SkRecord.h (right): https://codereview.chromium.org/269543025/diff/1/src/record/SkRecord.h#newcode173 src/record/SkRecord.h:173: } Done. Leaving rearranging / renaming the traits for ...
6 years, 7 months ago (2014-05-07 15:27:42 UTC) #3
bungeman-skia
lgtm with one comment nit. https://codereview.chromium.org/269543025/diff/20001/src/utils/SkTLogic.h File src/utils/SkTLogic.h (right): https://codereview.chromium.org/269543025/diff/20001/src/utils/SkTLogic.h#newcode33 src/utils/SkTLogic.h:33: /** Is T an ...
6 years, 7 months ago (2014-05-07 15:33:42 UTC) #4
mtklein
https://codereview.chromium.org/269543025/diff/20001/src/utils/SkTLogic.h File src/utils/SkTLogic.h (right): https://codereview.chromium.org/269543025/diff/20001/src/utils/SkTLogic.h#newcode33 src/utils/SkTLogic.h:33: /** Is T an empty class? */ On 2014/05/07 ...
6 years, 7 months ago (2014-05-07 15:36:44 UTC) #5
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 7 months ago (2014-05-07 17:52:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/269543025/60001
6 years, 7 months ago (2014-05-07 17:53:31 UTC) #7
commit-bot: I haz the power
6 years, 7 months ago (2014-05-07 18:02:03 UTC) #8
Message was sent while issue was closed.
Change committed as 14622

Powered by Google App Engine
This is Rietveld 408576698