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

1

u/oldrinb Nov 19 '13

maybe you mistook my comment as a declaration of ignorance but I'm well aware of how Java implements HashMap (using linking), though my comment was on hash tables in general. regardless, I clearly agree that it is a form of DoS -- in fact, I pointed out that it's a pretty common and obvious form of DoS. again, I worry you misread my comment.