Skip to content

Add decode_in_place and benchmarks to b64ct #206

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 6 commits into from
Jan 13, 2021
Merged

Conversation

newpavlov
Copy link
Member

As discussed in #205, unfortunately, compiler is not smart enough to remove panics even if we'll guard against the potential overflow. It's possible to make it panic-free by sprinkling a number of get_uncheked, but I would like avoid following this route if possible. Thus this panicking version should be a good enough starting point.

@newpavlov newpavlov requested a review from tarcieri January 13, 2021 05:27
@newpavlov newpavlov changed the title Add decode_inplace to b64ct Add decode_inplace and benchmarks to b64ct Jan 13, 2021
Copy link
Member

@tarcieri tarcieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@newpavlov newpavlov changed the title Add decode_inplace and benchmarks to b64ct Add decode_in_place and benchmarks to b64ct Jan 13, 2021
@newpavlov newpavlov merged commit 8416468 into master Jan 13, 2021
@newpavlov newpavlov deleted the b64ct_inplace branch January 13, 2021 13:21
@tarcieri tarcieri mentioned this pull request Jan 20, 2021
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