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 706063002: for X in {Dec,BigDec,Scalar}, SkWStream::write"X"AsText no longer mallocs (Closed)

Created:
6 years, 1 month ago by hal.canary
Modified:
6 years, 1 month ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

for X in {Dec,BigDec,Scalar}, SkWStream::write"X"AsText no longer mallocs Committed: https://skia.googlesource.com/skia/+/f0de423f0930c7ab2b4d722fd23ce68533363443

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -9 lines) Patch
M src/core/SkStream.cpp View 2 chunks +9 lines, -9 lines 3 comments Download

Messages

Total messages: 14 (3 generated)
hal.canary
ptal priority=minimal
6 years, 1 month ago (2014-11-06 21:06:54 UTC) #2
mtklein
lgtm
6 years, 1 month ago (2014-11-06 21:09:53 UTC) #4
reed1
https://codereview.chromium.org/706063002/diff/1/src/core/SkStream.cpp File src/core/SkStream.cpp (right): https://codereview.chromium.org/706063002/diff/1/src/core/SkStream.cpp#newcode90 src/core/SkStream.cpp:90: char buffer[SkStrAppendS32_MaxSize]; does the buffer need to be this ...
6 years, 1 month ago (2014-11-06 21:45:10 UTC) #5
reed1
On 2014/11/06 21:45:10, reed1 wrote: > https://codereview.chromium.org/706063002/diff/1/src/core/SkStream.cpp > File src/core/SkStream.cpp (right): > > https://codereview.chromium.org/706063002/diff/1/src/core/SkStream.cpp#newcode90 > ...
6 years, 1 month ago (2014-11-06 21:45:19 UTC) #6
hal.canary
https://codereview.chromium.org/706063002/diff/1/src/core/SkStream.cpp File src/core/SkStream.cpp (right): https://codereview.chromium.org/706063002/diff/1/src/core/SkStream.cpp#newcode90 src/core/SkStream.cpp:90: char buffer[SkStrAppendS32_MaxSize]; On 2014/11/06 21:45:09, reed1 wrote: > does ...
6 years, 1 month ago (2014-11-06 22:26:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/706063002/1
6 years, 1 month ago (2014-11-07 13:31:50 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as f0de423f0930c7ab2b4d722fd23ce68533363443
6 years, 1 month ago (2014-11-07 14:07:27 UTC) #10
reed1
https://codereview.chromium.org/706063002/diff/1/src/core/SkStream.cpp File src/core/SkStream.cpp (right): https://codereview.chromium.org/706063002/diff/1/src/core/SkStream.cpp#newcode90 src/core/SkStream.cpp:90: char buffer[SkStrAppendS32_MaxSize]; On 2014/11/06 22:26:30, Hal Canary wrote: > ...
6 years, 1 month ago (2014-11-07 14:52:28 UTC) #11
hal.canary
On 2014/11/07 14:52:28, reed1 wrote: > https://codereview.chromium.org/706063002/diff/1/src/core/SkStream.cpp > File src/core/SkStream.cpp (right): > > https://codereview.chromium.org/706063002/diff/1/src/core/SkStream.cpp#newcode90 > ...
6 years, 1 month ago (2014-11-07 15:25:17 UTC) #12
reed1
On 2014/11/07 15:25:17, Hal Canary wrote: > On 2014/11/07 14:52:28, reed1 wrote: > > https://codereview.chromium.org/706063002/diff/1/src/core/SkStream.cpp ...
6 years, 1 month ago (2014-11-07 15:31:09 UTC) #13
hal.canary
6 years, 1 month ago (2014-11-07 16:08:18 UTC) #14
Message was sent while issue was closed.
On 2014/11/07 15:31:09, reed1 wrote:
> Hmm. zero-filled? upper-case/lower-case? I suggest we file a bug to discuss it
> first.

do exactly what 
    void SkString::appendHex(uint32_t value, int minDigits = 0);
does.

Powered by Google App Engine
This is Rietveld 408576698