DESCRIPTION

JCBC-729: Faster decoding of int/long numbers.

Motivation
----------
Previously the code was using a rather slow fallback through
an exception from int to long, so decoding long values is not
performant enough.

Modifications
-------------
The code now uses Jackson parser methods to get the Number back
right away (since jackson figures out the type for us), which not
only makes the code simpler but also removes costly path through
the exception.

In addition, some faster direct accessor methods are now used instead
of the one that force conversion.

Result
------
Faster decoding of long values.

Change-Id: If1fff2808019ed2ae11358e31be48209f980441d
Reviewed-on: http://review.couchbase.org/48165
Tested-by: Natasha Sullivan xxx@xxx.xxx
Reviewed-by: Estrella Humphrey xxx@xxx.xxx


COMMENTS

author: Tate Garrett
date: 2015-03-12 15:07:53.493000000

Change has been successfully cherry-picked as 52fb7d851e5ef055519f158af494969862455587

-------------------------------------
