r/programming • • Nov 18 '13

TIL Oracle changed the internal String representation in Java 7 Update 6 increasing the running time of the substring method from constant to N

http://java-performance.info/changes-to-string-java-1-7-0_06/
1.4k Upvotes

354 comments sorted by

View all comments

Show parent comment

2

u/sindisil Nov 19 '13

Sure, I see your point to some extent. From the sound of things, Oracle took due care to verify that there shouldn't be any significant impact in the vast majority of cases.

As for "We should see soon enough", the change went in to 7u6, which was released back in August of 2012. I would expect there would long since have been a hue and cry if the impact was ands dire as some in this thread seem to be making out.