Movatterモバイル変換


[0]ホーム

URL:


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

Optimize new use of Base64Url#57050

New issue

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
amcasey merged 2 commits intodotnet:mainfromstephentoub:tweakbase64url
Jul 31, 2024
Merged

Conversation

stephentoub
Copy link
Member

Rather than searching the whole input for + or / to know if we need to use Base64, we can search for those as well as - or _, which then on average means we only need to search through ~32 characters, assuming balanced input. The moment we see a - or _, we can just use Base64Url.

gfoidl reacted with thumbs up emoji
Rather than searching the whole input for + or / to know if we need to use Base64, we can search for those as well as - or _, which then on average means we only need to search through ~32 characters, assuming balanced input. The moment we see a - or _, we can just use Base64Url.
@stephentoubstephentoub marked this pull request as ready for reviewJuly 29, 2024 01:06
@ghostghost added the area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions labelJul 29, 2024
@amcaseyamcaseyenabled auto-merge (squash)July 31, 2024 17:41
@amcaseyamcasey merged commit5c2dce5 intodotnet:mainJul 31, 2024
26 checks passed
@dotnet-policy-servicedotnet-policy-servicebot added this to the9.0-rc1 milestoneJul 31, 2024
@stephentoubstephentoub deleted the tweakbase64url branchJuly 31, 2024 20:04
@stephentoub
Copy link
MemberAuthor

thanks

amcasey reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@amcaseyamcaseyamcasey approved these changes

Assignees
No one assigned
Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Milestone
9.0-rc1
Development

Successfully merging this pull request may close these issues.

2 participants
@stephentoub@amcasey

[8]ページ先頭

©2009-2025 Movatter.jp