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

Issue 2723583004: Add const char* overloads to ErrorSupport (Closed)

Created:
3 years, 9 months ago by dcheng
Modified:
3 years, 9 months ago
Reviewers:
dgozman
CC:
chromium-reviews, devtools-reviews_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add const char* overloads to ErrorSupport As these functions are usually called with string literals, doing so out-of-lines the temporary string construction, saving about 60 KB in a release build. BUG=none R=dgozman@chromium.org Committed: https://chromium.googlesource.com/deps/inspector_protocol13768f332cacb5170d64b8fcce1887b78fec2d86

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M lib/ErrorSupport_cpp.template View 2 chunks +10 lines, -0 lines 0 comments Download
M lib/ErrorSupport_h.template View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
dcheng
3 years, 9 months ago (2017-02-28 12:05:16 UTC) #2
dgozman
Very interesting! Is this a common problem? Are there any techniques to find/fix it in ...
3 years, 9 months ago (2017-02-28 19:20:34 UTC) #3
dcheng
On 2017/02/28 19:20:34, dgozman wrote: > Very interesting! Is this a common problem? Are there ...
3 years, 9 months ago (2017-02-28 19:34:29 UTC) #4
dcheng
3 years, 9 months ago (2017-02-28 19:35:07 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
13768f332cacb5170d64b8fcce1887b78fec2d86 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698