We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a follow-up issue tracking the discussion in #1909 (comment). We can investigate to see if we can get some perf gain by using the .NET char comparison pattern, such as in https://source.dot.net/#System.Private.CoreLib/UnicodeUtility.cs,141
The text was updated successfully, but these errors were encountered:
ListView
CommandPrediction
Do you want to measure only LengthInBufferCells() method? I could measure and share results if you want.
Sorry, something went wrong.
Yup, measuring only the LengthInBufferCells() would be enough. Thanks!
LengthInBufferCells()
In my test the worst case (char is in last range) is improved up to 16%. Thoughts?
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.18362.1082 (1903/May2019Update/19H1) Intel Core i5-2410M CPU 2.30GHz (Sandy Bridge), 1 CPU, 4 logical and 2 physical cores .NET Core SDK=5.0.100-rc.2.20479.15 [Host] : .NET Core 5.0.0 (CoreCLR 5.0.20.47505, CoreFX 5.0.20.47505), X64 RyuJIT DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.47505, CoreFX 5.0.20.47505), X64 RyuJIT
No branches or pull requests
Description of the new feature/enhancement
This is a follow-up issue tracking the discussion in #1909 (comment).
We can investigate to see if we can get some perf gain by using the .NET char comparison pattern, such as in https://source.dot.net/#System.Private.CoreLib/UnicodeUtility.cs,141
The text was updated successfully, but these errors were encountered: