Skip to content

Use BigDecimalParser for BigInteger parsing very long numbers #814

Closed
@pjfanning

Description

@pjfanning

Maybe something for jackson 2.15. Relates to #813

String to BigInteger support is currently done using new BigInteger(str).

BigDecimalParser has some performance related code for handling numbers with many digits. #813 suggests that we might be able to get improvements in performance and error handling by using some ideas from jsoniter_scala. BigInteger could probably benefit from these too.

@plokhotnyuk fyi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions