[webkit-changes] [WebKit/WebKit] 0fb712: Stop using Vector::unsafeAppendWithoutCapacityChec...
Chris Dumez
noreply at github.com
Thu Nov 30 13:08:58 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0fb712ae7e2cf27a1d6ad787eb4d1145eb773dd9
https://github.com/WebKit/WebKit/commit/0fb712ae7e2cf27a1d6ad787eb4d1145eb773dd9
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-11-30 (Thu, 30 Nov 2023)
Changed paths:
M Source/JavaScriptCore/runtime/StringPrototype.cpp
Log Message:
-----------
Stop using Vector::unsafeAppendWithoutCapacityCheck() in JSC::replaceUsingRegExpSearchWithCache()
https://bugs.webkit.org/show_bug.cgi?id=265582
Reviewed by Darin Adler.
Stop using Vector::unsafeAppendWithoutCapacityCheck() in JSC::replaceUsingRegExpSearchWithCache().
This tested as performance neutral on JetStream 3 and Speedometer 2 & 3, on both macOS and iOS.
* Source/JavaScriptCore/runtime/StringPrototype.cpp:
(JSC::replaceUsingRegExpSearchWithCache):
Canonical link: https://commits.webkit.org/271356@main
More information about the webkit-changes
mailing list