-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Minor changes to Ipv4Addr #75110
Minor changes to Ipv4Addr #75110
Conversation
083b739
to
2c5e292
Compare
13ada0d
to
833dbb5
Compare
Do we have like benchmark for this to see if it improves performance? |
Never claimed this PR will improve performance. Rather I try to enforce endianness of Ipv4Addr, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some more comments; with that, this is fine from a UCG perspective.
But I can't judge if this is actually a change that we want or if it improves the readability of the code here -- I find it about equally difficult to follow before and after. Somehow highfive did not assign a reviewer, so r? @Mark-Simulacrum
And again for the bot to see: r? @Mark-Simulacrum |
(I have no idea who would be a good reviewer and thanks to the |
(You could use |
Thanks a lot about your help here, @RalfJung . I am really happy about that. |
Please update the description in the top-level comment to match what this PR does after the latest changes, and squash the commits into one. With that done I think this will be good to go. |
Done. |
@bors r+ |
📌 Commit 3b2c0a9 has been approved by |
…crum Minor changes to Ipv4Addr Minor changes to Ipv4Addr * Impl IntoInner rather than AsInner for Ipv4Addr * Add some comments * Add test to show endiannes of Ipv4Addr display
Failed in #75683 (comment), @bors r- |
Thanks. The issue happened because in netbsd, |
* Impl IntoInner rather than AsInner for Ipv4Addr * Add some comments * Add test to show endiannes of Ipv4Addr display
@bors r+ |
📌 Commit 768509f has been approved by |
☀️ Test successful - checks-actions, checks-azure |
Minor changes to Ipv4Addr