United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8024356 : Double.parseDouble() is slow for long Strings

Details
Type:
Bug
Submit Date:
2013-09-05
Status:
Closed
Updated Date:
2014-02-24
Project Name:
JDK
Resolved Date:
2013-09-17
Component:
core-libs
OS:
Sub-Component:
java.lang
CPU:
Priority:
P4
Resolution:
Fixed
Affected Versions:
5.0u51,6u51,7u25
Fixed Versions:
7u60 (b01)

Related Reports
Backport:
Relates:

Sub Tasks

Description
Parsing strings such as "1.1111111...." appears to behave approximately as O(n^2). Significant performance degradation does not however occur until the hundreds of thousands of digits
                                    

Comments
URL:   http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/cc055e12248d
User:  coffeys
Date:  2013-09-17 12:08:27 +0000

                                     
2013-09-17
URL:   http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/cc055e12248d
User:  lana
Date:  2013-09-23 18:24:17 +0000

                                     
2013-09-23



Hardware and Software, Engineered to Work Together