Closed dafortune closed 3 years ago
There are some performance issues associated with usgin hex2dec to manage big numbers, this PR uses hex2dec if native implementation is not available, otherwise it goes with BigInt approach which has shown to have a better performance.
LGTM. Will wait for @mwear 's final approval before merging.
This was released in v0.31.0: https://www.npmjs.com/package/lightstep-tracer/v/0.31.0.
There are some performance issues associated with usgin hex2dec to manage big numbers, this PR uses hex2dec if native implementation is not available, otherwise it goes with BigInt approach which has shown to have a better performance.