[webkit-changes] [WebKit/WebKit] 47cdb9: Add fast path to JSStringJoiner::join() when there...
Chris Dumez
noreply at github.com
Sun Mar 26 11:42:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 47cdb9c389b608104995423112a03d532ceea386
https://github.com/WebKit/WebKit/commit/47cdb9c389b608104995423112a03d532ceea386
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-03-26 (Sun, 26 Mar 2023)
Changed paths:
M Source/JavaScriptCore/runtime/JSStringJoiner.cpp
M Source/JavaScriptCore/runtime/JSStringJoiner.h
Log Message:
-----------
Add fast path to JSStringJoiner::join() when there is only one string in the vector
https://bugs.webkit.org/show_bug.cgi?id=254463
Reviewed by Darin Adler.
* Source/JavaScriptCore/runtime/JSStringJoiner.cpp:
(JSC::JSStringJoiner::joinSlow):
(JSC::JSStringJoiner::join): Deleted.
* Source/JavaScriptCore/runtime/JSStringJoiner.h:
(JSC::JSStringJoiner::join):
Canonical link: https://commits.webkit.org/262129@main
More information about the webkit-changes
mailing list