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

Update uintsize implementation #2590

Merged
merged 2 commits into from
Jan 7, 2024
Merged

Conversation

danlaine
Copy link

@danlaine danlaine commented Jan 5, 2024

Credit to @StephenButtolph for this algorithm.

Why this should be merged

It's cleaner and faster for numbers > 127.

How this works

Different algorithm for computing uint size.

How this was tested

Updated unit test.

@StephenButtolph StephenButtolph changed the title update uintsize implementation Update uintsize implementation Jan 7, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Jan 7, 2024
@StephenButtolph StephenButtolph added this to the v1.10.18 milestone Jan 7, 2024
Merged via the queue into dev with commit 73c4c0f Jan 7, 2024
17 checks passed
@StephenButtolph StephenButtolph deleted the update-uintsize-implementation branch January 7, 2024 16:36
chand1012 pushed a commit to multisig-labs/avalanchego that referenced this pull request Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants