Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSC] Early return from isCanonicalNumericIndexString when it is defi…
…nitely 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
- Loading branch information