[Webkit-unassigned] [Bug 116482] New: Use std::lower_bound to reduce RenderQuote.o by 82k
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 20 18:07:59 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=116482
Summary: Use std::lower_bound to reduce RenderQuote.o by 82k
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: ap at webkit.org, koivisto at iki.fi, benjamin at webkit.org,
akling at apple.com
We might want to consider merging
https://chromium.googlesource.com/chromium/blink/+/d1c61feb4585e24e5e29f9cca37aeed81e180049
Having a HashTable in RenderQuote adds tons of generated code to RenderQuote.o,
and then the initialization code to fill the hash table adds even more. Instead
we can use std::lower_bound and manually implement the mapping from quote language
to QuotesData.
This reduces libwebkit.dylib on my mac in Release from 40.52 to 40.44MB
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list