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

BigDecimal is rather slow #272

Open
BobHanson opened this issue Feb 25, 2024 · 0 comments
Open

BigDecimal is rather slow #272

BobHanson opened this issue Feb 25, 2024 · 0 comments

Comments

@BobHanson
Copy link
Owner

The issue here is the time required to process Long values correctly. The method works for significant tasks such as calculating the value of pi to 10000 digits, but it is slow in JavaScript.

A solution is in the works that removes the need for Long processing. (This was the basis for BigInteger prior to the newer long-as-int[3] idea I developed, which is implemented currently.)

BitInteger is working fine without Long in local testing; the only challenge here is to adjust BigDecimal to work with it. It's not a huge task, but it's also not a priority for me since it is only a speed issue.

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

1 participant