You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be useful as a way to circumvent unnecessary cloning while maintaining the "weak invariants" of Ratio (mentioned in this issue). It would also be useful for "manually" implementing more efficient primitive operations on BigRational from outside of num-rational like so:
A request to create a function (for now I'll call it
Ratio::into_raw
) which acts like this:This would be useful as a way to circumvent unnecessary cloning while maintaining the "weak invariants" of
Ratio
(mentioned in this issue). It would also be useful for "manually" implementing more efficient primitive operations onBigRational
from outside of num-rational like so:This could solve issues that #38 tries to solve without making as much of a sweeping change, which hopefully will help it to be accepted more quickly.
The text was updated successfully, but these errors were encountered: