Skip to content

Add benchmarking for whitespace detection in spans#4641

Open
AlexRadch wants to merge 5 commits intodotnet:mainfrom
AlexRadch:MemoryExtensions.IsWhiteSpace
Open

Add benchmarking for whitespace detection in spans#4641
AlexRadch wants to merge 5 commits intodotnet:mainfrom
AlexRadch:MemoryExtensions.IsWhiteSpace

Conversation

@AlexRadch
Copy link

This commit introduces a new method IsWhiteSpace to benchmark the detection of whitespace in spans.

This commit introduces a new method `IsWhiteSpace` to benchmark the detection of whitespace in spans.
This commit removes several lines that yield specific string values in the `ReadOnlySpan.cs` file. The removed strings include "     5abcdefg", "          10abcdefg", "           11abcdefg", and "            12abcdefg". These changes aim to simplify the output and adjust the test cases generated by this method.
@AlexRadch AlexRadch requested a review from e-kharion January 23, 2025 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments