| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 23416cc commit 8b5ada4
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -742,7 +742,7 @@ uint32_t FastByteLengthUtf8( | |||
| 742 | 742 | Local<String> sourceStr = sourceValue.As<String>(); | |
| 743 | 743 | ||
| 744 | 744 | if (!sourceStr->IsExternalOneByte()) { | |
| 745 | - return sourceStr->Utf8Length(isolate); | ||
| 745 | + return sourceStr->Utf8LengthV2(isolate); | ||
| 746 | 746 | } | |
| 747 | 747 | auto source = sourceStr->GetExternalOneByteStringResource(); | |
| 748 | 748 | // For short inputs, the function call overhead to simdutf is maybe | |
| Back | FazBrowse Home | New Git URL |
0 commit comments