JDK 7u-dev review request 8024356: Double.parseDouble() is slow for long Strings

Brian Burkhalter brian.burkhalter at oracle.com
Mon Sep 16 23:44:57 UTC 2013


On Sep 13, 2013, at 7:02 PM, Dmitry Nadezhin wrote:

> I agree with 1100 for this review (JDK7).

OK. I will post an approval request to 7u-dev for the patch as-is.

> I think that we shouldn't change from 1100 to 768 in JDK8 because this is a small performance enhancement.
> This will save time for fixing other bugs.

Fine with me.

> The performance enhancement could be smarter if we replace constant MAX_NDIGIT by some piece-linear function
> function maxNDigit(decExponent). See:
> http://cr.openjdk.java.net/~bpb/nDigits/java/double.pdf
> I'd like to postpone this to JDK9 .


Thanks,

Brian


More information about the core-libs-dev mailing list