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

Make num256 types implement copy #7

Open
jkilpatr opened this issue Dec 2, 2018 · 2 comments
Open

Make num256 types implement copy #7

jkilpatr opened this issue Dec 2, 2018 · 2 comments

Comments

@jkilpatr
Copy link
Member

jkilpatr commented Dec 2, 2018

Even if we have to do the bit fiddling ourselves.

@mpapierski
Copy link
Contributor

So the general consensus on having Copy trait in Int256/Uint256 is that we're using num-bigint which uses dynamic memory which in current rust makes the type noncopyable.

Possible alternative solutions:

@jkilpatr
Copy link
Member Author

resolved #19

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

No branches or pull requests

2 participants