Bug 121176

Summary: HTMLEntityTable could use char to reduce binary size
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, esprehn+autocc, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fixes the bug andersca: review+

Simon Fraser (smfr)
Reported 2013-09-11 12:19:42 PDT
static const UChar zwnjSemicolonEntityName[] = {'z', 'w', 'n', 'j', ';'}; static const HTMLEntityTableEntry staticEntityTable[2231] = { { AEligEntityName, 5, 0x000C6, 0 }, Pretty sure we could use char to save space. Symbols says: 0x0000000000eada30 ( 0xd130) WebCore::(anonymous namespace)::staticEntityTable [NameNList, MangledNameNList, NList] 0x0000000000d6cc30 ( 0xa) WebCore::(anonymous namespace)::AEligEntityName [NameNList, MangledNameNList, NList] etc.
Attachments
Fixes the bug (3.40 KB, patch)
2013-09-11 12:41 PDT, Ryosuke Niwa
andersca: review+
Ryosuke Niwa
Comment 1 2013-09-11 12:32:37 PDT
Let's fix this.
Ryosuke Niwa
Comment 2 2013-09-11 12:41:30 PDT
Created attachment 211340 [details] Fixes the bug
Ryosuke Niwa
Comment 3 2013-09-11 13:45:55 PDT
Note You need to log in before you can comment on or make changes to this bug.