Bug 302333
| Summary: | Use a BitSet to hold quirk state | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
| Component: | New Bugs | Assignee: | Brent Fulgham <bfulgham> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Brent Fulgham
Rather than an ever-growing set of `bool` values, let's represent quirks state using a BitSet. This allows us to do a quick check of whether *any* quirks are active in the current domain, rather than individually testing each one. In theory, this should be a small performance benefit since most sites do not have any relevant quirk and quickly determining this requires fewer steps.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/164490282>
Brent Fulgham
Pull request: https://github.com/WebKit/WebKit/pull/53746
EWS
Committed 303068@main (45c24f4e4c76): <https://commits.webkit.org/303068@main>
Reviewed commits have been landed. Closing PR #53746 and removing active labels.