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

Reduce bitshifts in from_u64_pair #790

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Reduce bitshifts in from_u64_pair #790

wants to merge 2 commits into from

Conversation

KodrAus
Copy link
Member

@KodrAus KodrAus commented Jan 19, 2025

Follow-up to #788

This PR reduces the size of the from_u64_pair function. I've also added some quick micro-benchmarks to check the performance impact of this and the from_u128 change. So far on my M1 MacBook Pro I'm seeing a roughly 3x regression, so will investigate more.

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