Bug 262519 - Use WTF::map() in ScriptArguments::getArgumentsAsStrings() instead of uncheckedAppend()
Summary: Use WTF::map() in ScriptArguments::getArgumentsAsStrings() instead of uncheck...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-02 19:41 PDT by Chris Dumez
Modified: 2023-10-03 11:23 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-10-02 19:41:00 PDT
Use WTF::map() in `ScriptArguments::getArgumentsAsStrings()` instead of `uncheckedAppend()`. It is more efficient, now that `uncheckedAppend()` is just an alias to `append()`.
Comment 1 Chris Dumez 2023-10-02 19:42:42 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18527
Comment 2 EWS 2023-10-03 11:22:12 PDT
Committed 268793@main (9152805b2bb4): <https://commits.webkit.org/268793@main>

Reviewed commits have been landed. Closing PR #18527 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-10-03 11:23:18 PDT
<rdar://problem/116411442>