Bug 252813

Summary: Avoid unnecessary alloc/init for NSDictionary
Product: WebKit Reporter: Seija K. <gfunni234>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Seija K.
Reported 2023-02-23 06:04:29 PST
The compiler initializes an NSDictionary when the @ syntax is used. If an underlying error happens, alloc/init is called again. Let's avoid that.
Attachments
Seija K.
Comment 1 2023-02-23 06:10:29 PST
EWS
Comment 2 2023-02-23 20:51:19 PST
Committed 260782@main (4543085706ef): <https://commits.webkit.org/260782@main> Reviewed commits have been landed. Closing PR #10335 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-02-23 20:52:29 PST
Note You need to log in before you can comment on or make changes to this bug.