WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
302333
Use a BitSet to hold quirk state
https://bugs.webkit.org/show_bug.cgi?id=302333
Summary
Use a BitSet to hold quirk state
Brent Fulgham
Reported
2025-11-11 09:50:56 PST
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
Comment 1
2025-11-11 09:51:20 PST
<
rdar://problem/164490282
>
Brent Fulgham
Comment 2
2025-11-11 10:15:41 PST
Pull request:
https://github.com/WebKit/WebKit/pull/53746
EWS
Comment 3
2025-11-14 23:52:00 PST
Committed
303068@main
(45c24f4e4c76): <
https://commits.webkit.org/303068@main
> Reviewed commits have been landed. Closing PR #53746 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug