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 2534013002: [inspector] use OS independent number to string conversion (Closed)

Created:
4 years ago by kozy
Modified:
4 years ago
Reviewers:
dgozman, alph
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] use OS independent number to string conversion V8 internally uses conversions.h to convert number to string, we can use these methods too instead of slow std::stringstream with std::locale. BUG=chromium:661497, v8:5551 R=dgozman@chromium.org Committed: https://crrev.com/89d050c066f3d3e53d3a33b2ba0064a9684b9986 Cr-Commit-Position: refs/heads/master@{#41334}

Patch Set 1 #

Total comments: 2

Patch Set 2 : bring back fromInteger(size_t) #

Total comments: 4

Patch Set 3 : inlined constant #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -16 lines) Patch
M src/inspector/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M src/inspector/string-16.cc View 1 2 3 chunks +10 lines, -16 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
kozy
Dmitry, please take a look.
4 years ago (2016-11-28 23:08:56 UTC) #1
alph
https://codereview.chromium.org/2534013002/diff/1/src/inspector/string-16.cc File src/inspector/string-16.cc (right): https://codereview.chromium.org/2534013002/diff/1/src/inspector/string-16.cc#newcode375 src/inspector/string-16.cc:375: return fromInteger(static_cast<int>(number)); dead code below?
4 years ago (2016-11-28 23:10:15 UTC) #3
kozy
https://codereview.chromium.org/2534013002/diff/1/src/inspector/string-16.cc File src/inspector/string-16.cc (right): https://codereview.chromium.org/2534013002/diff/1/src/inspector/string-16.cc#newcode375 src/inspector/string-16.cc:375: return fromInteger(static_cast<int>(number)); On 2016/11/28 23:10:15, alph wrote: > dead ...
4 years ago (2016-11-28 23:12:45 UTC) #4
alph
lgtm https://codereview.chromium.org/2534013002/diff/20001/src/inspector/string-16.cc File src/inspector/string-16.cc (right): https://codereview.chromium.org/2534013002/diff/20001/src/inspector/string-16.cc#newcode367 src/inspector/string-16.cc:367: const size_t kBufferSize = 50; nit: no need ...
4 years ago (2016-11-28 23:40:28 UTC) #5
kozy
all done, thanks! https://codereview.chromium.org/2534013002/diff/20001/src/inspector/string-16.cc File src/inspector/string-16.cc (right): https://codereview.chromium.org/2534013002/diff/20001/src/inspector/string-16.cc#newcode367 src/inspector/string-16.cc:367: const size_t kBufferSize = 50; On ...
4 years ago (2016-11-28 23:45:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2534013002/40001
4 years ago (2016-11-29 00:31:57 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-29 00:34:07 UTC) #15
commit-bot: I haz the power
4 years ago (2016-11-29 00:34:45 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/89d050c066f3d3e53d3a33b2ba0064a9684b9986
Cr-Commit-Position: refs/heads/master@{#41334}

Powered by Google App Engine
This is Rietveld 408576698