The fastest approach to loop through characters of a string

前端 未结 0 1325
余生分开走
余生分开走 2020-12-02 16:51

What is the fastest way to loop through characters of a string ? This :

 static void loop(String str) {

  char[] array = str.toCharArray();
  for(char c :arr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题