Bug 305302
| Summary: | Avoid heap-allocating PseudoStyleCache since it is a HashMap | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | CSS | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
Avoid heap-allocating PseudoStyleCache since it is a HashMap and a HashMap is already essentially a pointer. This avoid unnecessary heap allocation and extra pointer dereference.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/56431
EWS
Committed 305491@main (5809a27bdb93): <https://commits.webkit.org/305491@main>
Reviewed commits have been landed. Closing PR #56431 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/168031598>