[webkit-changes] [WebKit/WebKit] 5d0b9a: [JavaScriptCore] strstr->strchr when string is onl...
AtariDreams
noreply at github.com
Wed Jan 10 12:39:35 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5d0b9adc2945e30d8bb92a6ebe31b0c745b4c667
https://github.com/WebKit/WebKit/commit/5d0b9adc2945e30d8bb92a6ebe31b0c745b4c667
Author: Rose <83477269+AtariDreams at users.noreply.github.com>
Date: 2024-01-10 (Wed, 10 Jan 2024)
Changed paths:
M Source/JavaScriptCore/runtime/Options.cpp
M Source/JavaScriptCore/tools/FunctionOverrides.cpp
Log Message:
-----------
[JavaScriptCore] strstr->strchr when string is only one letter long
https://bugs.webkit.org/show_bug.cgi?id=267351
Reviewed by Michael Catanzaro.
Instead of having to find a whole string, we can just find the char we
need.
* Source/JavaScriptCore/runtime/Options.cpp: strstr->strchr
(JSC::Options::setOptions): Ditto.
* Source/JavaScriptCore/tools/FunctionOverrides.cpp: Ditto.
(JSC::parseClause): Ditto.
Canonical link: https://commits.webkit.org/272859@main
More information about the webkit-changes
mailing list