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

Issue 2516123002: Out-of-line WTF::String's destructor. (Closed)

Created:
4 years, 1 month ago by dcheng
Modified:
4 years, 1 month ago
Reviewers:
esprehn, Mikhail
CC:
blink-reviews, blink-reviews-wtf_chromium.org, chromium-reviews, Mikhail
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Out-of-line WTF::String's destructor. This saves ~504KB in the official Linux x64 binary. BUG=none Committed: https://crrev.com/2ce3d703c50150ebe5cd6c3f1e2bf4a19f590766 Cr-Commit-Position: refs/heads/master@{#433737}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move and copy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M third_party/WebKit/Source/wtf/text/WTFString.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/text/WTFString.cpp View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (21 generated)
dcheng
4 years, 1 month ago (2016-11-20 04:54:30 UTC) #2
esprehn
Can we do StringImpl instead? I'd rather not mess with String, I assume the bloat ...
4 years, 1 month ago (2016-11-20 20:44:27 UTC) #15
dcheng
On 2016/11/20 20:44:27, esprehn wrote: > Can we do StringImpl instead? I'd rather not mess ...
4 years, 1 month ago (2016-11-20 21:46:52 UTC) #16
Mikhail
https://codereview.chromium.org/2516123002/diff/1/third_party/WebKit/Source/wtf/text/WTFString.h File third_party/WebKit/Source/wtf/text/WTFString.h (right): https://codereview.chromium.org/2516123002/diff/1/third_party/WebKit/Source/wtf/text/WTFString.h#newcode102 third_party/WebKit/Source/wtf/text/WTFString.h:102: ~String(); This will remove implicitly-declared move constructor, so this ...
4 years, 1 month ago (2016-11-21 06:51:02 UTC) #18
dcheng
https://codereview.chromium.org/2516123002/diff/1/third_party/WebKit/Source/wtf/text/WTFString.h File third_party/WebKit/Source/wtf/text/WTFString.h (right): https://codereview.chromium.org/2516123002/diff/1/third_party/WebKit/Source/wtf/text/WTFString.h#newcode102 third_party/WebKit/Source/wtf/text/WTFString.h:102: ~String(); On 2016/11/21 06:51:02, Mikhail wrote: > This will ...
4 years, 1 month ago (2016-11-22 01:30:08 UTC) #23
esprehn
Do you want to change AtomicString too? I do worry this is going to be ...
4 years, 1 month ago (2016-11-22 01:41:11 UTC) #24
dcheng
On 2016/11/22 01:41:11, esprehn wrote: > Do you want to change AtomicString too? Let's see ...
4 years, 1 month ago (2016-11-22 01:47:25 UTC) #25
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/2516123002/20001
4 years, 1 month ago (2016-11-22 01:48:11 UTC) #27
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-22 01:55:41 UTC) #29
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/2ce3d703c50150ebe5cd6c3f1e2bf4a19f590766 Cr-Commit-Position: refs/heads/master@{#433737}
4 years, 1 month ago (2016-11-22 02:08:10 UTC) #31
dcheng
4 years ago (2016-11-23 19:07:51 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2522243003/ by dcheng@chromium.org.

The reason for reverting is: 10.7% regression in blink_perf.dom =(.

Powered by Google App Engine
This is Rietveld 408576698