-
Notifications
You must be signed in to change notification settings - Fork 45
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
Consider using an alternative to num for multiple precision arithmetic #1
Comments
Performance was not my biggest concern, but I am open to replacing the I've also considered that maybe a |
@vks there is work on improving |
@hauleth I think the split is a good idea. I wrote down my thoughts in rust-num/num#102. |
@vks I know. I am one of the maintainers. Also I started work on that issue rust-num/num#164 to achieve that. |
@vks when was the last time you checked num's bigint performance? It has seen significant performance work more recently than rust-num/num#102 was filed. I'm sure any library that uses asm will still be faster, but bigint is much better now. |
@cuviper It was at least a year ago. I'll dig up my use case, port it to |
@cuviper Performance is much better now, it is only one order of magnitude slower than GMP. (I also had to implement a few algorithms that are not provided by See rust-num/num#181. |
num
is one of the less efficient implementations of multi-precision arithmetic. (IIRC it is several orders of magnitude slower than GMP.) It might be worthwhile to useramp
(requires nightly and does not have fractions) orrust-gmp
(bindings to C lib) instead.The text was updated successfully, but these errors were encountered: