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

Issue 15093007: Shrink RenderQuote.o by 134K (Closed)

Created:
7 years, 7 months ago by abarth-chromium
Modified:
7 years, 7 months ago
Reviewers:
esprehn, Nico, eseidel
CC:
blink-reviews, loislo+blink_chromium.org, eae+blinkwatch, leviw+renderwatch, yurys+blink_chromium.org, adamk+blink_chromium.org, jchaffraix+rendering, jeez, eseidel, ojan, (unused - use chromium), pdr., esprehn, Chris Evans, Jeffrey Yasskin
Visibility:
Public.

Description

Shrink RenderQuote.o by 134K This CL merges http://trac.webkit.org/changeset/149833, which shrinks RenderQuote.o by 134K (from 211K to 77K) on Linux.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+315 lines, -242 lines) Patch
M Source/core/rendering/RenderQuote.h View 3 chunks +4 lines, -10 lines 0 comments Download
M Source/core/rendering/RenderQuote.cpp View 6 chunks +305 lines, -211 lines 0 comments Download
M Source/core/rendering/style/QuotesData.h View 1 chunk +2 lines, -4 lines 0 comments Download
M Source/core/rendering/style/QuotesData.cpp View 2 chunks +2 lines, -17 lines 0 comments Download
M Source/wtf/unicode/CharacterNames.h View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
abarth-chromium
7 years, 7 months ago (2013-05-13 20:04:38 UTC) #1
Nico
lgtm stamp (is this with symbols or without?)
7 years, 7 months ago (2013-05-13 20:10:05 UTC) #2
abarth-chromium
On 2013/05/13 20:10:05, Nico wrote: > lgtm stamp > > (is this with symbols or ...
7 years, 7 months ago (2013-05-13 20:13:26 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/15093007/1
7 years, 7 months ago (2013-05-13 20:13:38 UTC) #4
Nico
On Mon, May 13, 2013 at 1:13 PM, <abarth@chromium.org> wrote: > On 2013/05/13 20:10:05, Nico ...
7 years, 7 months ago (2013-05-13 20:14:27 UTC) #5
eseidel
Esprhen is the grand poo-ba of quotes.
7 years, 7 months ago (2013-05-13 20:14:34 UTC) #6
esprehn_google.com
I don't like this change. It adds a lot of mess to RenderQuote that I ...
7 years, 7 months ago (2013-05-13 20:16:31 UTC) #7
abarth-chromium
On 2013/05/13 20:16:31, esprehn_google.com wrote: > I don't like this change. It adds a lot ...
7 years, 7 months ago (2013-05-13 20:21:07 UTC) #8
esprehn_google.com
Yeah I'd be happy to. We had discussed the cost of the hash table when ...
7 years, 7 months ago (2013-05-13 20:28:03 UTC) #9
abarth-chromium
On 2013/05/13 20:28:03, esprehn_google.com wrote: > Yeah I'd be happy to. We had discussed the ...
7 years, 7 months ago (2013-05-13 20:35:49 UTC) #10
eseidel
Something is wrong with HashTable::set. Perhaps the 5 template parameters. :) RenderQuote.o: 292k Removing "CaseFoldingHash" ...
7 years, 7 months ago (2013-05-14 07:34:39 UTC) #11
eseidel
7 years, 7 months ago (2013-05-14 07:44:58 UTC) #12
*each* QUOTE_LANG() instance:
staticQuotesMap.set(lang, QuotesData::create(U(o1), U(c1), U(o2),
U(c2)).leakRef())
compiles to 1.52k of binary size!!?

Again, something is clearly wrong with HashTable::set.

We may need someone with some C++ template-fu to stare at our HashTable.h
implementation and help understand why it expands to infinity binary size.

Powered by Google App Engine
This is Rietveld 408576698