Bug 255225

Summary: Update findElementName() to use switch statements
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2023-04-10 07:51:47 PDT
Update findElementName() to use switch statements instead of many if checks. This is slightly more efficient, especially on iOS.
Attachments
Chris Dumez
Comment 1 2023-04-10 07:53:04 PDT
EWS
Comment 2 2023-04-10 10:59:02 PDT
Committed 262776@main (14dd27cb957b): <https://commits.webkit.org/262776@main> Reviewed commits have been landed. Closing PR #12571 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-04-10 11:00:25 PDT
Note You need to log in before you can comment on or make changes to this bug.