Skip to content

Optimize IonParser.getNumberType() using IonReader.getIntegerSize() #212

@cowtowncoder

Description

@cowtowncoder

Current implementation of getNumberType() is bit inefficient as it forces creation of BigInteger, checks, and it looks like IonReader actually has method to help with that (not sure when it was added but seems to be included in 1.4.0 of ion-java).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions