Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add benchmarking for whitespace detection in spans#4641

Open
AlexRadch wants to merge 5 commits into
dotnet:main from
AlexRadch:MemoryExtensions.IsWhiteSpace
Open

Add benchmarking for whitespace detection in spans #4641
AlexRadch wants to merge 5 commits into
dotnet:main from
AlexRadch:MemoryExtensions.IsWhiteSpace

Conversation

@AlexRadch

@AlexRadch AlexRadch commented Jan 15, 2025

Copy link
Copy Markdown

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.
Comment thread src/benchmarks/micro/libraries/System.Memory/ReadOnlySpan.cs Outdated
@AlexRadch AlexRadch requested a review from a user January 23, 2025 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /