[Webkit-unassigned] [Bug 233959] New: Add DOMStructures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 7 16:43:32 PST 2021


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

            Bug ID: 233959
           Summary: Add DOMStructures
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ysuzuki at apple.com

We should have the same mechanism to DOMConstructors: DOMStructures array.
Now, we have significantly better / faster StructureID implementation. And WriteBarrierStructureID (sizeof(WriteBarrierStructureID) is 4!) is coming.
We should have std::array<WriteBarrierStructureID, numberOfStructures> instead of HashMap<ClassInfo*, WriteBarrier<Structure>>, which is faster. And maybe it is more compact (HashMap allocates roughly 4x memory usually, we do not need to have ClassInfo*, and we do not need to hold Structure*).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211208/3618f5af/attachment.htm>


More information about the webkit-unassigned mailing list