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

Add transparent representation for u5 #122

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

citizen-stig
Copy link
Contributor

As mentioned in #19 having transparent representation for u5 opens many optimization.

According to change log in Rust repo, this feature was stabilized in 1.28

@apoelstra
Copy link
Member

LGTM. I don't see your citation for this opening up optimizations, but it seems like an obvious thing to do (and we'll never change this type from being a u8 internally).

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 02a5686

@apoelstra apoelstra merged commit 7c800fc into rust-bitcoin:master Aug 11, 2023
12 checks passed
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