[Webkit-unassigned] [Bug 252612] New: shrink CSSSelector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 20 14:24:21 PST 2023


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

            Bug ID: 252612
           Summary: shrink CSSSelector
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com

On 64 bit, CSSSelector is currently 16 bytes.  By moving some of its data to the rare data object, we can pack the remaining bits with the data union to shrink it to 8 bytes.  CSSSelector is a frequently allocated object, so this should have noticeable memory savings.

-- 
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/20230220/a4497260/attachment.htm>


More information about the webkit-unassigned mailing list