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

Mike Duigou mike.duigou at
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.

More information about the core-libs-dev mailing list