Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9152805b2bb446bffd04e3e661dc60fce7564cf1
      
https://github.com/WebKit/WebKit/commit/9152805b2bb446bffd04e3e661dc60fce7564cf1
  Author: Chris Dumez <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to