[webkit-changes] [WebKit/WebKit] 915280: Use WTF::map() in ScriptArguments::getArgumentsAsS...
Chris Dumez
noreply at github.com
Tue Oct 3 11:22:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9152805b2bb446bffd04e3e661dc60fce7564cf1
https://github.com/WebKit/WebKit/commit/9152805b2bb446bffd04e3e661dc60fce7564cf1
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-10-03 (Tue, 03 Oct 2023)
Changed paths:
M Source/JavaScriptCore/inspector/ScriptArguments.cpp
Log Message:
-----------
Use WTF::map() in ScriptArguments::getArgumentsAsStrings() instead of uncheckedAppend()
https://bugs.webkit.org/show_bug.cgi?id=262519
Reviewed by Darin Adler.
Use WTF::map() in `ScriptArguments::getArgumentsAsStrings()` instead of `uncheckedAppend()`.
It is more efficient, now that `uncheckedAppend()` is just an alias to `append()`.
* Source/JavaScriptCore/inspector/ScriptArguments.cpp:
(Inspector::argumentAsString):
(Inspector::ScriptArguments::getArgumentAtIndexAsString const):
(Inspector::ScriptArguments::getArgumentsAsStrings const):
Canonical link: https://commits.webkit.org/268793@main
More information about the webkit-changes
mailing list