java
java copied to clipboard
Optimize JsonIterator.read for non decimal numbers
Currently when reading a number, a Double value is created, then it's converted to long or int if there is no dot in the string. If it was parsed directly to a Long or Integer when there is no dot, it could be a small performance improvement in situations where is necessary to wrap the number after the parse.
which line are you commenting on?