Skip to content

Why is String.EndsWith() on .NET 8 two times slower than on .NET Framework 4.8, in Chinese and Japanese CultureInfo? #97200

Answered by huoyaoyuan
JasonWei512 asked this question in Q&A
Discussion options

You must be logged in to vote

The default globalization implementation is ICU on .NET Core. See https://learn.microsoft.com/dotnet/core/extensions/globalization-icu . You can compare the performance of NLS mode mentioned in the doc.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JasonWei512
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants