[Webkit-unassigned] [Bug 121176] New: HTMLEntityTable could use char to reduce binary size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 11 12:20:30 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=121176

           Summary: HTMLEntityTable could use char to reduce binary size
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.fraser at apple.com
                CC: andersca at apple.com, rniwa at webkit.org


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.

-- 
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