RESOLVED FIXED286244
[JSC] Optimize 8bit string array search by `Array#index` in DFG
https://bugs.webkit.org/show_bug.cgi?id=286244
Summary [JSC] Optimize 8bit string array search by `Array#index` in DFG
Sosuke Suzuki
Reported 2025-01-19 19:24:04 PST
The DFG for `Array#indexOf` calls `operationArrayIndexOfString` to search string from array of strings. However, for arrays of 8-bit strings, this can be optimized using the same logic as `compileStringEquality`.
Attachments
Sosuke Suzuki
Comment 1 2025-01-19 19:25:33 PST
Radar WebKit Bug Importer
Comment 2 2025-01-26 19:25:12 PST
EWS
Comment 3 2025-02-04 05:48:45 PST
Committed 289780@main (b68f6434c4f5): <https://commits.webkit.org/289780@main> Reviewed commits have been landed. Closing PR #39279 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.