30 May
2014
30 May
'14
6:51 p.m.
On the same topic but still a bit different shouldn't indexOf(String) check for the size and call indexOf(char) when the length is 1, same for indexOf(String,int)? Tom On 26.04.14 11:56, Otávio Gonçalves de Santana wrote:
When a String has length just one, could be replaced by equivalent character literals, gaining some performance enhancement.