Skip to content

BigDecimal is rather slow #272

@BobHanson

Description

@BobHanson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions