-
Notifications
You must be signed in to change notification settings - Fork 60
implement PartialOrd<Uint>
for BoxedUint
#803
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
base: master
Are you sure you want to change the base?
Conversation
This came up in RustCrypto/signatures#906 but I'm not sure that's the right approach. The alternative would be to duplicate the implementation of the Opinion? |
@baloo I think the real goal of this is to make it possible to compare a It should be possible to have a generic core implementation of this functionality that operates over |
That said, if this came with TODOs and an open issue to optimize it, adding it now does open the door to future optimizations and enable code to be written with |
Err, sorry, my last comment meant this is fine as a start and we can optimize later. It would be good to add TODOs for that though, and open a tracking issue |
Oh that's wasn't about your comment, but I'd rather start over. |
@baloo we can leave that out for now. If the impls are in place they can be optimized later. To answer your question, originally I used the name |
TODO:
BoxedInt