Bug 252612
| Summary: | shrink CSSSelector | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> |
| Component: | CSS | Assignee: | Cameron McCormack (:heycam) <heycam> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Cameron McCormack (:heycam)
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105696499>
Cameron McCormack (:heycam)
Pull request: https://github.com/WebKit/WebKit/pull/10397