Skip to content
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

Bump itoa to v1 #358

Merged
merged 1 commit into from
Oct 29, 2022
Merged

Bump itoa to v1 #358

merged 1 commit into from
Oct 29, 2022

Conversation

paolobarbolini
Copy link
Contributor

@paolobarbolini paolobarbolini commented Oct 28, 2022

itoa 0.4 used mem::uninitialized, which is a very bad API as it's way of doing uninitialized memory goes against Rust's memory model. Starting from 1.64 it's slower because of the forced memory initialization it does to avoid the unsoundness

@lambda-fairy lambda-fairy merged commit 81ace85 into lambda-fairy:main Oct 29, 2022
@lambda-fairy
Copy link
Owner

Thanks!

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