Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 00ae065. rdar://problem/113605152
Cherry-pick 7b6f950. rdar://problem/113143380 [JSC] Early return from isCanonicalNumericIndexString when it is definitely not a number https://bugs.webkit.org/show_bug.cgi?id=259230 rdar://112292849 Reviewed by Alexey Shvayka. This patch makes isCanonicalNumericIndexString early return for obvious non number cases so that we avoid super costly number-to-string & string-to-number path. * Source/JavaScriptCore/runtime/PropertyName.h: (JSC::isCanonicalNumericIndexString): Canonical link: https://commits.webkit.org/266080@main Identifier: 265870.281@safari-7616.1.27.10-branch Identifier: 265870.298@safari-7616-branch
- Loading branch information