Bug 239954

Summary: using OptionSet iterator to find changes in GraphicsContextState::mergeChanges
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: WebKit Process ModelAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ews-feeder: commit-queue-

Cameron McCormack (:heycam)
Reported 2022-05-01 22:44:57 PDT
Instead of looping over all 15 Change bits, we can use the iterator on OptionSet to skip quickly to each set bit.
Attachments
Patch (6.70 KB, patch)
2022-05-07 15:39 PDT, Cameron McCormack (:heycam)
ews-feeder: commit-queue-
Radar WebKit Bug Importer
Comment 1 2022-05-01 22:45:04 PDT
Cameron McCormack (:heycam)
Comment 2 2022-05-07 15:39:15 PDT
Cameron McCormack (:heycam)
Comment 3 2022-05-07 15:39:58 PDT
I preserved the clever formatting, but I'm happy to drop it.
Simon Fraser (smfr)
Comment 4 2022-05-07 20:49:17 PDT
Note You need to log in before you can comment on or make changes to this bug.