Request for Review : 6553074 : String{Buffer, Builder}.indexOf(Str, int) contains unnecessary allocation

Mike Duigou mike.duigou at oracle.com
Wed Nov 14 18:27:43 UTC 2012


Hello all;

This patch causes the indexOf and lastIndexOf implementation in AbstractStringBuilder to directly compare the character arrays rather than making a copy of the substring before comparing.

http://cr.openjdk.java.net/~mduigou/6553074/0/webrev/





More information about the core-libs-dev mailing list