java icon indicating copy to clipboard operation
java copied to clipboard

Optimize JsonIterator.read for non decimal numbers

Open ypconstante opened this issue 7 years ago • 1 comments

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.

ypconstante avatar Apr 27 '18 14:04 ypconstante

which line are you commenting on?

taowen avatar Apr 28 '18 01:04 taowen