[Webkit-unassigned] [Bug 127171] New: Script make_names.pl should generate lazily created arrays for attributes and tags.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 17 04:20:58 PST 2014


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

           Summary: Script make_names.pl should generate lazily created
                    arrays for attributes and tags.
           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: vivekg at webkit.org


Currently make_names.pl generate local static arrays for the tags and the attributes. 

These arrays hold pointers to the global data and these arrays are declared as 
static.

As the pointer data itself is global, the array need not be declared as static. We could create it lazily.

Also even though these functions, get{{namespace}}Tags/Attrs(), may not be called upon, the binary would still be loaded with 
allocation of that much amount of static data. 

Blink review URL: https://codereview.chromium.org/137783012/

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