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

Improve integer to_chars efficiency #65

Merged
merged 1 commit into from
Aug 7, 2023
Merged

Improve integer to_chars efficiency #65

merged 1 commit into from
Aug 7, 2023

Conversation

mborland
Copy link
Member

@mborland mborland commented Aug 7, 2023

With a 19 or 20 digit integer the last call to decompose32 always recovered 2 digits. Replace call with a direct memcpy for exactly 2 digits.

@mborland mborland merged commit 37a3994 into develop Aug 7, 2023
49 checks passed
@mborland mborland deleted the integer_eff branch August 7, 2023 15:33
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.

1 participant