Skip to content

Use integer division trick to get exact base64 length #50549

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 3, 2021

Conversation

gfoidl
Copy link
Member

@gfoidl gfoidl commented Apr 1, 2021

...and avoid (explicit) modulo operation.

Produces less machine code.

@ghost
Copy link

ghost commented Apr 1, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@ghost
Copy link

ghost commented May 3, 2021

Tagging subscribers to this area: @tannergooding
See info in area-owners.md if you want to be subscribed.

Issue Details

...and avoid (explicit) modulo operation.

Produces less machine code.

Author: gfoidl
Assignees: -
Labels:

area-System.Runtime

Milestone: -

@jkotas
Copy link
Member

jkotas commented May 3, 2021

Thank you!

@jkotas jkotas merged commit 6df740b into dotnet:main May 3, 2021
@gfoidl gfoidl deleted the base64-len-perf branch May 3, 2021 14:32
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants